Comments (8)
Hi @recepgums, could you be more specific as to what "is not working"? We haven't made any updates, as you can so, so it is likely either an issue with OpenStreetMaps, or a configuration change in your app.
If you can provide any stack trace or other error logs, that would help identify what is going on.
from nova-map-marker-field.
Hi @recepgums, could you be more specific as to what "is not working"? We haven't made any updates, as you can so, so it is likely either an issue with OpenStreetMaps, or a configuration change in your app.
If you can provide any stack trace or other error logs, that would help identify what is going on.
nova-map-marker-field:1 Uncaught (in promise) Error: Bounds are not valid.
at e.fitBounds (nova-map-marker-field:1)
at NewClass.centerMap (nova-map-marker-field:1)
at NewClass.showResult (nova-map-marker-field:1)
at NewClass.<anonymous> (nova-map-marker-field:1)
at eval (eval at <anonymous> (nova-map-marker-field:1), <anonymous>:1:2976)
I got this error on console.
I mean after i filled textbox and pressed enter, i couldn't see any moving on map. Marker is stayin same possition. There may be an error with OpenStreetMaps as you say
from nova-map-marker-field.
I have the same issue. I did not declare the search provider explicitly.
I get search results but when I select an entry from the suggestions, nothing happens.
I can confirm that it was working some time ago but now it isn't.
from nova-map-marker-field.
@parelius Thanks for adding to the conversation. :) Could you provide your Nova field declaration as well? That will help with troubleshooting.
from nova-map-marker-field.
Hi Mike, sure I can:
use GeneaLabs\NovaMapMarkerField\MapMarker;
use Eminiarts\Tabs\Tabs;
public function fields(Request $request)
{
return [
// some more fields...
(new Tabs('Info', [
__('photos.tab-content') => [
// some more fields...
MapMarker::make(__('photos.coordinates'))
->latitude('exif_latitude')
->longitude('exif_longitude')
->defaultLatitude(46.951082)
->defaultLongitude(7.438632)
->required()
->hideFromIndex(),
],
// some more tabs...
])),
];
}
As you see, I'm using Eminiarts\Tabs\Tabs. I don't see a difference if using MapMarker inside Tabs or not. The issue remains the same.
MapMarker used to work, even within Tabs, some time ago.
I'm currently on Laravel framework 7.9.2 and Nova 3.5.0, but I noticed this issue earlier with Laravel 7.6.2 and Nova 3.3.2.
Console Log is the same as reported by @recepgums
nova-map-marker-field:1 Uncaught (in promise) Error: Bounds are not valid.
at e.fitBounds (nova-map-marker-field:1)
at e.centerMap (nova-map-marker-field:1)
at e.showResult (nova-map-marker-field:1)
at e.<anonymous> (nova-map-marker-field:1)
at eval (eval at <anonymous> (nova-map-marker-field:1), <anonymous>:3:2975)
from nova-map-marker-field.
@parelius Awesome, thanks for the update .... I will take a look soon, hopefully over the next few days.
from nova-map-marker-field.
Any news here?
from nova-map-marker-field.
Same problem here... I guess it is related with this issue on the "leaflet-geosearch" library:
smeijer/leaflet-geosearch#167
from nova-map-marker-field.
Related Issues (20)
- Is it possible to put several markers in a map ? HOT 2
- TypeError: Cannot create property 'latitude' on string HOT 5
- the mab is showing as balnk
- Better nullable support HOT 2
- Laravel 6 support on 0.2.2 HOT 1
- Nova is required for? HOT 1
- Google search provider does not work HOT 2
- Support for Storing lat/long in mysql Geo Point field HOT 9
- Map doesn't refresh on second search try. HOT 4
- Can't input in the search bar in Safari HOT 1
- CORS error HOT 1
- The pin icons needs to be rendered via the asset()/mix() func
- parsing failed bad endian byte value 50
- Laravel 9 support HOT 4
- Add a maxZoom param to l-tile-layer? HOT 1
- Nova 4 support HOT 2
- Please remove illuminate/support from dependencies. HOT 1
- Detail View bug with negative latitude and longitude HOT 1
- Not able to install the package due to illuminate/support HOT 2
- I'm on Laravel 9^ but I still am not able to install this package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nova-map-marker-field.