- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello to all,
when I add my key map google I get the following error when I open the page containing the map: uncaught RangeError: Maximum call stack size exceeded https://maps.googleapis.com/maps/api/js?key=MYKEY.
The key has been added in this way:
<script type="application/javascript" src="https://maps.googleapis.com/maps/api/js?key=MYKEY"></script>
Keyless the error does not occur.
Any idea how to fix the error?
Thank you all
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't seen that problem, but there are a couple things you could try. First try the Geolocation Demo ("Start a new project"->"Samples and Demos"->"HTML5 + Cordova"->"Geolocation Demonstration" and determine if you see the same problem (i.e. with and without your key).
Another thing you could try is to try it outside of the XDK, i.e. build a simple web app that does the same call, open it up in Chrome and see if it shows the same behavior.
The difference I see between With and without the key is only on the call to "apiLoad", where the parameters are different, i think. You could try setting a breakpoint there and see if you can determine where the problem is coming from. At first glance, it sounds like it could be an infinite recursion problem, but don't know for sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, with the demo works. I deleted everything and rebuilt it based on demos. Thank you!
I have a question: can you add a mark with JS to my personal map that persists over time (such as the new service MyMaps but has manual entry)? Or whenever you need to add them to view them?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page