The Map page of this site allows to find precisely the longitude and latitude position (WGS84 standard) of any point on the globe.

 

It displays the Goggle Map around the selected point and allows you to browse and zoom in and out anywhere on this map. Clicking the map puts a marker whose documentation text contains the GPS position of the point. Clicking the marker displays this text.

 

The section below describes how the map page is working. Although it should be pretty straight forward below are a few tips and tricks to allow you use the page optimally.

 

The page once called parse the parameters of the URL you used to call the page. This allows you to customize the way Map will be shown. This also allows you to programmatically control Map from a main application. By example you can call the map page with the following link: http://www.jpbnet.com/map.htm?mlat=46.9934&mlong=6.9412.

 

Note that the order of the parameters are not relevant.

 

Below a list of the parameters you can use

  • mlat: the latitude coordinate of the center point of the map to be displayed.

  • mlong: same thing for the longitude coordinate

  • mz: zoom level. It goes from 0 to 17, where 0 is the highest level of details

  • sx,sy: select the size of the map view port in pixel, x being the horizontal dimension

To clear all markers displayed on the map used the button clear.

 

Enjoy!

 

Retour aux outils

 

Neuchâtel, le 13-Apr-2008 www.services.jpbnet.com G & Y