angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
314 stars 134 forks source link

Marker are http 404 #337

Open morfair opened 7 years ago

morfair commented 7 years ago

I just add simple marker like:

markers: { carMarker: { lat: 56.99611, lng: 40.97858, } },

but not see it in browser, in console 404 error:

http://domain.com/css/images/data:image/png;base64,iVBO......==

AlexeyKorkoza commented 7 years ago

+1

elesdoar commented 7 years ago

Please, can you provide us more details, an example in JSFiddle would be great.

Thanks.

santiquetzal commented 7 years ago

I have the same problem and I using ui-leaflet 1.0.3 and leaflet 1.0.0. I found the issue '#89 (Get ready for Leaflet 1.0)' to make ui-leaflet compatible with leaflet 1.0.x, but it was opened on Nov 2 2015 and it's not closed yet.

If you are using ui-leaflet 1.0.3, can you try to use leaflet 0.7.x? (that's the version that appers in bower.json)

elesdoar commented 7 years ago

Please use leaflet-1.X branch. https://github.com/angular-ui/ui-leaflet/tree/leaflet-1.X

santiquetzal commented 7 years ago

I made a fork of the repository to have a pre-release version of that branch available via bower. Thank you.

morfair commented 7 years ago

@elesdoar It does not help.

elesdoar commented 7 years ago

@morfair if are you using Leaflet 1.x then is required to be used leaflet-1.X branch, it's supporting Leaflet 1.x.

Please try to be nice next time. This work is done with love, but we lack hands to it be perfect, so we do what we can.

Sometimes we also need examples, not just messages that something is not working.

Have a great day.