5 Random Pages

Recent Changes (All)

Related Pages


Don't Click


Map lat/lon finder

⚠ (:noaction:) ⚠ (:noaction:) Sadly, revisions to Google Map source coding have finally caught up and passed out original effort to produce our own lat/lon finder, and sometime during 2016 we found our little piece of coding had given up the ghost and died.

Since we have not kept up to date with all the 'improvement' to Google's programming options for their mapping service, for the foreseeable future the following offering from another site will have to do.

While it will not give the preformatted entry for our maps, it does give the lat/lon, which then just needs a little more effort to plug it into the format we need:

Section below is now DEAD and retained for information only.

Sorry.

For detailed instructions regarding the creation of a location map, and use of the (:gma-map:) and (:gma-point:) functions seen below, please refer to the Map 101 page.

Marker operation allows you to place a marker on or near a feature simply by clicking the map at the desired location, but is not precise due to the Google 'grab and drag' hand not having an easily identified point of reference.

Blip operation allows you to define the marker location to pixel precision by population the (:gma-map:) and (:gma-point:) functions with the coordinates at a flashing pair of pixels (the blip) at the centre of the map. However, the tiny blip can be hard to see.


Marker operation

  • Pan and zoom the map below to the desired location
  • Click anywhere on the map to show the latitude, longitude and 6-digit grid reference
  • Copy and paste the three lines given below into a Wiki page to embed the map inside it
  • An identifier appears to show that the figures correspond to the marker (or blip, if it is being used)

Blip operation

  • Pan and zoom the map below to the desired location
  • Continue to drag the map until the desired location is directly underneath the flashing blip
  • Drop the map to update the figures. Each time the map is moved, a new set of figures is calculated
  • Copy and paste the three lines given below into a Wiki page to embed the map inside it

Removed cross-hair dragend update code stored below from mapa.htm

<!-- GEvent.addListener(map, "dragend", function(){

		WGlat = map.getCenter(point).lat();
		WGlon = map.getCenter(point).lng();

	lat7 = WGlat.toFixed(7);
	lon7 = WGlon.toFixed(7);

	var html = "";
	html += "⚠ (:gma-point lat=" + lat7 + " " + "lon=" + lon7 + " :)<br/><br/>⚠ (:gma-map :)<br /><br /><strong>Showing Cross-hair data</strong>";

			document.getElementById("message").innerHTML = html;

}); -->

⚠ (:WPCategoriesList:)