× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Center the map on a point of interest

mirger replied the topic: Center the map on a point of interest

11 months 2 weeks ago

Hello all

On epsg.io/map#srs=4326&x=6.030174&y=49.955030&z=17 you can "transform" the coordinates to the needed x,y values to center your map.

Put this in your article:

{gpxtrackmap}test.gpx,dl=0,center_x=670751.70,center_y=6438194.95,zoomlevel=15,tpl=3{/gpxtrackmap}
And Kautenbach is the middle of your map:
kautenbach.mirger.nl/
Or on Texel: texel.mirger.nl

Please make first a good backup of your gpxtrackmap.php before using my adjustments!!!
Allthough I think it is working correctly, you will use it on your own responsibility!

Warning: this is just the file gpxtrackmap.php. It is not an update!
If you do not know what you have to do, wait till Frank has time to make an update file!!!

Have a good time!

Attachments:
Last Edit: 11 months 2 weeks ago by mirger.

Please Log in or Create an account to join the conversation.

mirger replied the topic: Center the map on a point of interest

11 months 2 weeks ago

Hello Bernard

Sorry. The title is on the topic I started, is not correct:
software.frankingermann.de/gpxtrackmap/forum/195-a-waypoints

I will try to clean the script of my personal stuff and post it later on this topic.

Kind regards
Gerrit
www.mirger.nl/

Last Edit: 11 months 2 weeks ago by mirger.

Please Log in or Create an account to join the conversation.

Manard created the topic: Center the map on a point of interest

11 months 3 weeks ago

Hello Frank,

It's me again :)
I have created a base that documents several dozen points of interest, do you think that it would be possible for me to display the map with all these points but center on the one consulted ?

Thank you for your answer

Bernard

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum