2011-08-31

google maps and proj4js. movable marker

Another script which combines proj4js and google maps together. This one gets coordinates from one system (EPSG:25884) which are generated in input boxes (and if there is none or wrong format, gives default values), converts to wgs84 lat/long and sets a movable marker on the google maps. As the user is moving marker, it defines the new center of the map after the user releases it and the new coordinates has been calculated back from lat/long to epsg:25884 and putted in the text box.

Nav komentāru:

Ierakstīt komentāru