• Resolved n381

    (@n381)


    Hello,

    firstly I should thank you for such utilizing plugin, both with graphical settings and data handling options that seems far better overall experience than some other much more popular plugins. So, I guess this is because of half functioning script that is not processing even with all before mentioned available options, and I would like to get Your answers on two types off error I’m getting with it, but before I need you to confirm the xml data structure that you have provided on the plugins home page

    <markers>
    <marker name="Some Place" topic="Some Topic" address="1st Street, City, Country" lat="6.8722333" lng="79.8632416" date="14-Feb-16" contact="" presenter="Mary" type="event"/>
    <marker name="Some other Place" topic="Some other Topic" address=“2nd Street, City, Country" lat=“72,68” lng="79.8632416" date="15-Feb-16" contact="" presenter=“John” type="event"/>
    </markers>

    Please check if this is appropriate set of xml data elements as they are missing closing tags. Aside of this I’ve tried correcting as following

    <markers>
    <marker name="Some Place" topic="Some Topic" address="1st Street, City, Country" lat="6.8722333" lng="79.8632416" date="14-Feb-16" contact="" presenter="Mary" type="event"/></marker>
    <marker name="Some other Place" topic="Some other Topic" address=“2nd Street, City, Country" lat=“72,68” lng="79.8632416" date="15-Feb-16" contact="" presenter=“John” type="event"/></marker>
    </markers>

    – but there is still no output and the Web Console is displaying empty xml warning(beside some gMap js console errors), so would you elaborate this with me in order to have this plugin working?
    Regards, Nik

    https://ww.wp.xz.cn/plugins/pw-gmap-plotter/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPI

    (@rohanmehta19)

    Hi Nik,

    Thanks for the encouragement.
    I noticed that the second entry has different type of double quotes i.e. lat=“72,68”
    Please change it to lat=”72,68″
    It does not require a closing tag

    Please correct the quotes and try again. I will fix the quotes in my documentation also

    Regards
    WPI

    Plugin Author WPI

    (@rohanmehta19)

    sorry there is one more error 🙂
    It has a comma instead of a dot i.e. 72 [comma] 68 instead of 72 [dot] 68

    Thread Starter n381

    (@n381)

    Hello again,

    I’ve tried inserts with correction of syntax you suggested

    <markers>
    <marker name="Some other Place" topic="Some other Topic" address="2nd Street, City, Country" lat="72.68" lng="79.8632416" date="15-Feb-16" contact="" presenter="John" type="event"/>
    </markers>

    Here is error report

    "Google Maps API error: Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
    Your site URL to be authorized: http://www.mydomain.com/map/" js:32:350
    _.ab() js:32
    am/this.R</<() common.js:54
    _.sy</<() common.js:224
    Ml/d() common.js:50
    <anonymous> AuthenticationService.Authenticate:1
    
    TypeError: a is undefined
    _.I.addDomListener()
     js:88
    _.I.addDomListenerOnce()
     js:88
    aB.prototype.R()
     map.js:45
    _.ng/<()
     js:81
    gc.prototype.Rc/</d[a]<()
     js:92
    _.bc/<()
     js:44
    gc.prototype.Rc/<()
     js:92
    hc()
     js:46
    gc.prototype.Rc()
     js:92
    <anonymous>
     map.js:1
     js:88:1

    Although maps still not loading, I’m really interested into your plugin, and would like do more testing in order to have it working.

    Plugin Author WPI

    (@rohanmehta19)

    The error says that your URL is not authorized by the Google API.

    Did you get an API key from google and add it on the settings screen of the plugin?

    If yes then most probably your API key is not configured properly
    It may be due to various reasons

    You have not allowed your domain or the API is not enabled

    Please check how to get an API key

    You need to generate a browser key and add your domain to enable access from it. I have edited the instructions on the above URL.

    Regards

    Thread Starter n381

    (@n381)

    Hello again,

    yes Google Map API key was obtained and 2 requirements set as described.
    Is there some other error log to look for?

    Regards

    Plugin Author WPI

    (@rohanmehta19)

    Can u send me URL of your page? It’s hard to figure out this way

    Plugin Author WPI

    (@rohanmehta19)

    Closing the thread as it seems to be the API permissions issue.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Regarding XML structure’ is closed to new replies.