Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 1 guest and 1 member online
  • Oak Ridge
Advertisement

Affiliates



Using GPX file as a GMaps datasource PDF Print E-mail

NOTE: Adapters are currently not available to registered users or subscribers.  We have not determined if/when/how they will be made available. Now that I have the adapter work for pro mostly complete, I decided to take it out for a test drive using something other than Community Builder.    A recent subscriber had contacted me to see about whether or not GMaps could support taking a GPX (see http://www.topografix.com/gpx_for_users.asp for more info on GPX) file and plot it on a GMaps map.   This particular request had caught my attention primarily because it sounded interesting and allowed me to see how the adapter code would support a non-database driven datasource.  Now, that may mean more code refactoring for me but what the heck.

Anyway, below is a screen image of the test map I produced with this adapter.  The adapter does really nothing more than parse the  GPX file, obtains the latitude/longitude values and constructs a polyline object based on the GMaps object model (which continues to be refined).   GMapsPRO uses both the markers from the GMaps database as well as the adapter when it renders the map.  In fact, you can even combined that will a KML file from Google MyMaps.  That may make it a bit cluttered though depending on the objective.   

Now, for those hiking/biking enthusiasts who use Joomla and GMaps, the potential is there that you can use an adapter like this, or write your own, to pull in your favorite hiking trail and plot markers on the map for specific landmarks.

GMaps GPX Adapter based Map


Views: 823

Comments (3)
09-12-2007 11:25
import fic GPX
Hello ! 
 
How can i import a Gpx file in GmapsPro 0.3.5 and create a map with this file. 
 
nb: excuse me for my bad english because I am french. 
 
thanks 
 
fan62 ( email : This e-mail address is being protected from spam bots, you need JavaScript enabled to view it )
Written by fan62
23-01-2008 07:46
KML download available
Have you already thought about rendering available the download of a KML version of a map built by DB markers? 
And a GPX Version?
Written by Gippa
28-01-2008 18:15
KML Download
What is DB Markers? Email me on ths.
Written by cs1559

Only registered users can write comments.
Please login or register.

Powered by AkoComment Tweaked Special Edition v.1.4.6
AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com
All right reserved

 
< Prev   Next >