• Resolved yeazzus

    (@yeazzus)


    Hello,

    I have a problem with my leaflet polygon integration :
    https://ibb.co/c39mXcm

    You can this my shortcode with the latlngs point :
    https://ibb.co/WznNbgm

    Why a point 0,0 is inserted ?

    Thank you in advance for your help,

    [leaflet-map lat=48.24569957516987 lng=-1.4574050903320312 zoom=10 zoomcontrol !show_scale ] 
    [leaflet-polygon latlngs=”48.094166,-1.480805;48.084111,-1.517821;48.099556,-1.563928;48.077196,-1.588148;48.080292,-1.630061;48.101619,-1.655483;48.101390,-1.652587;48.121766,-1.662672;48.127405,-1.652414;48.150123,-1.698532;48.221310,-1.706281;48.277550,-1.666773;48.296705,-1.638465;48.340574,-1.541013;48.383915,-1.460581;48.346507,-1.264072;48.170734,-1.293250;48.099017,-1.479109″ color="#e7bd42"]

    Yeazzus

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bozdoz

    (@bozdoz)

    Looks like you have a “smart quote” in the polygon shortcode. You can completely remove the quotes and it should work fine. You can see the difference in the quotes between latlngs and color.

    Thread Starter yeazzus

    (@yeazzus)

    Thank you @bozdoz !
    It works ! Very tricky –‘….
    The joys of copy paste !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘leaflet-polygon problem’ is closed to new replies.