0

Think of country names labels. Their position on map stays fixed. I want to create a div element and fix it to a specific LatLng.

(Please don't suggest GeoJson. I have to actually integrate mxGraph into Leaflet layer.)

closed as off-topic by PolyGeo Jan 12 at 7:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to GIS SE! We're a little different from other sites. We're a Q&A site, not a discussion forum. For questions that involve code we ask that you show us where you are stuck with your own code by including a code snippet in your question. There is an edit button beneath your question which will enable you to do that and a {} button that enables you to format any highlighted code nicely. Please check out our short tour for more about how the site works. Thanks. – PolyGeo Jan 12 at 7:10
  • 1
    A L.Marker with a L.DivIcon inside. Read the leaflet docs. – IvanSanchez Jan 12 at 11:17

Browse other questions tagged or ask your own question.