Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • purediamox

    (@purediamox)

    Yes, it looks to be an issue with lat/long. Seems to work fine, but only if both the centre and the markers are grid references

    [osmap centre="SJ6355257675" zoom="4" markers="53.115000,-2.546000;RACUNDRA at Venetian Marina"]

    marker is at correct place, but still centres on Berwick.

    [osmap centre="SJ6355257675" zoom="4" markers="SJ6355257675;RACUNDRA at Venetian Marina"]

    works.

    I noticed there is some javascript code to attempt to centre the map, if no centre parameter is supplied, and it obviously does work for GPX. I only need grid references, so I’ll not dig further into this.

    There are 2 undocumented parameters for centering and zooming the map – centre and zoom. These seem to be necessary when only having markers i.e. no gpx file.

    Example:

    [osmap zoom=”6″ centre=”SH60985437″ markers=”SH60985437;Snowdon”]

Viewing 2 replies - 1 through 2 (of 2 total)