Page 2 of 2

Re: Place image over map

Posted: Mon Jan 11, 2016 12:47 pm
by Pidea
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

Re: Place image over map

Posted: Sat Jan 16, 2016 2:39 pm
by agw
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.

Re: Place image over map

Posted: Wed Aug 14, 2019 6:14 pm
by crazyrider22
Sorry to bump on old topic...but is this possible to do with Leafletjs if so...how?

Scott

Re: Place image over map

Posted: Fri Aug 16, 2019 12:58 am
by agw
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

Re: Place image over map

Posted: Fri Aug 16, 2019 4:05 pm
by crazyrider22
Works a charm! Thanks mate!