STYLED Maps

Home Forums MapPress Support STYLED Maps

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #11778
    karenratte
    Participant

      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

      http://southernarizonaguide.com

      #11779
      Chris
      Keymaster

        Hi,

        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.

        #11780
        karenratte
        Participant

          well .. 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

          #11781
          karenratte
          Participant

            oops..

            that was really dumb..

            Here is the URL to the map

            http://southernarizonaguide.com/museum-map/

            #11782
            Chris
            Keymaster

              Hi,

              I think that’s a link to your post in this forum…  🙂

              #11783
              karenratte
              Participant

                oops..
                that was really dumb..
                Here is the URL to the map
                http://southernarizonaguide.com/museum-map/

                #11784
                Chris
                Keymaster

                  Hi,

                  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 313

                  HTML1422: Malformed start tag. A self closing slash should be followed by a U+003E GREATER-THAN SIGN (>).
                  museum-map, line 705 character 117

                  HTML1409: Invalid attribute name character. Attribute names should not contain (“),(‘),(<), or (=).
                  museum-map, line 705 character 117

                  SCRIPT5007: Object expected
                  no-ie.js, line 11 character 1

                   

                  #11786
                  karenratte
                  Participant

                    thanks , 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!

                    #11789
                    karenratte
                    Participant

                      yah. 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.

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.