Double load of map
-
I Made a custom shortcode to adjust the styling of my map and it works almost perfect using this method here,
http://wordpress.org/support/topic/shortcode-with-array-map-options?replies=4
I added the script in functions.phpIt looks really nice and I’m glad it worked. However, I`m not really aware of what the script exactly does to the total architecture, due to my lack of knowledge in that.
I have some issues which I think are easy to solve, but I can`t find how.
1. the map loads first a standard google map layout, and then reloads the styled map. how can I turn this off so it immediately loads the custom map?
2. the zoom + and – button are very weird and sort of squeezed, and I would like to turn this off, as well as the buttons to put it in satellite mode on the right corner. but changing the disable-map-controls.php doesn’t have any influence. probably logical because I made something custom.
3. I would like to place a hyperlink on the marker and the adress, and perhaps change the icon of the marker with a logo. Here as well changing the images urls in the filter-marker-options.php do not really change anything. Also a cross should appear next to info (top right) when you click on the marker, but it`s also squeezed somehow, however you can still click on it to close.
4. I have a responsive theme, but the size is set to 900 x900px, but when looking on a small screen it’s still the same. Using 100% doesn`t work either, so i guess the body or div container is not set correctly in some kind of way.If somebody could help me out with some or all of these points, that would be great!
Thanks in advance!
- The topic ‘Double load of map’ is closed to new replies.