Home › Forums › MapPress Support › STYLED Maps
- This topic has 8 replies, 2 voices, and was last updated 9 years, 11 months ago by
karenratte.
-
AuthorPosts
-
February 25, 2013 at 11:10 am #11778
I am trying to figure out why none of my styled maps are showing up any longer. they were fine. I deleted them and started all over and they are still hosed. Where can I look to find out what is wrong. Is there something in the database I need to clear? I have purged hte cache several times but I have not yet reset all the settings. That is next.
thanks,
karen
February 25, 2013 at 11:32 am #11779Hi,
What do you mean by ‘hosed’? The map is showing up? It isn’t styled correctly? Or something else?
Please also provide a URL to a page with a map that’s not working – I can’t guess where it is from the home page.
February 25, 2013 at 11:37 am #11780well .. they were working and then they were not. Pretty sure that I added a JSON for testing and that broke it. but I deleted them all and started over. My apologies, I was trying to test without making these publich.
Here is the URL so you can see what is not happening.. http://mappresspro.com/forums/topic/styled-maps#post-11779
The standard mapTypeId s work fine.
thanks
February 25, 2013 at 11:48 am #11781oops..
that was really dumb..
Here is the URL to the map
February 25, 2013 at 11:48 am #11782Hi,
I think that’s a link to your post in this forum… 🙂
February 25, 2013 at 12:09 pm #11783oops..
that was really dumb..
Here is the URL to the map
http://southernarizonaguide.com/museum-map/February 25, 2013 at 12:30 pm #11784Hi,
It looks like the JSON isn’t valid, but I can’t say exactly where it is going wrong. You can check the validity of the JSON here, if that helps:
http://jsonlint.com/It’s tough to read or edit JSON by hand. Is it possible you can re-paste it verbatim from the Google styling tool?
There are also some HTML and javascript errors on the page. I don’t think they’re related to the styling problem, though:
HTML1514: Extra “<body>” tag found. Only one “<body>” tag should exist per document.
museum-map, line 163 character 313HTML1422: Malformed start tag. A self closing slash should be followed by a U+003E GREATER-THAN SIGN (>).
museum-map, line 705 character 117HTML1409: Invalid attribute name character. Attribute names should not contain (“),(‘),(<), or (=).
museum-map, line 705 character 117SCRIPT5007: Object expected
no-ie.js, line 11 character 1February 25, 2013 at 12:33 pm #11786thanks , yes, it is as I thought… one cannot save the JSON or copy it back or anything. when it is gone it is gone. I will try the validator. THANKS!
February 25, 2013 at 11:48 pm #11789yah. somehow I messed up the code. It is irritating the Google won’t let you save this stuff for later use. For now, I will pin the set that I am working with. thanks for all your help.
-
AuthorPosts
- You must be logged in to reply to this topic.