I'm a little confused - when setting up Custom Content it points to the index.html file. Should this not be desktop.html or mobile.html ?
I'd like to have different content depending on the device that the user is using to view my site. In this case, a narrow but taller div for mobile devices and a wider but shorter one for desktop.
Phil
Place image over map
Re: Place image over map
Yes, index.html is just a placeholder. Either change that to whichever page you want the content injected into or use * to have it injected into every HTML file.
-
- Posts: 7
- Joined: Wed Jun 12, 2019 7:00 pm
Re: Place image over map
Sorry to bump on old topic...but is this possible to do with Leafletjs if so...how?
Scott
Scott
Live Radar from around the world https://www.ea-radar.co.uk
Re: Place image over map
Yes, you can actually write a script that works with both Google Maps and Leaflet. I've uploaded an example to Github here:
https://github.com/vradarserver/vrs-cus ... 20to%20Map
https://github.com/vradarserver/vrs-cus ... 20to%20Map
-
- Posts: 7
- Joined: Wed Jun 12, 2019 7:00 pm
Re: Place image over map
Works a charm! Thanks mate!
Live Radar from around the world https://www.ea-radar.co.uk