0

I would like to do something like a google map , when someone drag the coordinates inside the google map, no matter the user zoom in or out the coordinates that the user drag will stay at same position , when I try to do this , after I drag my coordinates, and I zoom or pan the image , the coordinates doesn't move to the location where it supposed to be.

Is there any jquery or javascript can achieved that ??

jsFiddle

Thanks in advance for any advice ~~

$( function() {
  $( "#draggable" ).draggable();
} );
Reggie
  • 49
  • 10
  • google maps recalculates coordinates based on the zoom level (resolution of the "view") that is the way to hold the coordinate at the same place, why don't you try to use google maps api or try openlayers.org – MakeLoveNotWar Dec 06 '18 at 08:28
  • not that I don't want to use google API , this is a internal project where the PC dont have any internet connection , so I have to do it without internet... – Reggie Dec 07 '18 at 00:54

0 Answers0