Hello everyone!
I am going to try Wix for making a site about mountain hiking tracks.
I just wonder if I am able to implement the following functionality on Wix:
-
Store tracks data in DB table (images, description, links on YouTube videos, gps files), search and filter tracks and display them on a template-based pages with embedded videos and map?
-
Will wix allow me to run a JS that will load, parse, and display a gpx file over an embedded map? Code example is here: 142.93.43.97/mapG.html
A gpx file is an XML file. You should be able to parse using one of the various XML parsers available through the Wix Package Manager : As you can see from the screenshot, there are a number of packages already available. I used the xml-js NPM library for one of my projects and it worked fine.
You didn’t explain what exactly you mean by “display a gpx file over an embedded map”, but I assume it’s something like showing a route, or marking points on the map. You can probably do this using the map’s API.
Here is an example of a site using an embedded Google map:
Multiple Markers in Google Maps
Embed Google Map on your site with multiple location markers, marker clustering, and custom controls using the HTML component.
Using the map example as a starting point, you might be able to use other Google map API features to display the gpx data on the map.
Thank you.
I will try to do that
Hey Oleg, were you able to get this working?