jeffreykemp / jk64-plugin-reportmap

Report Google Map APEX Plugin
https://jeffreykemp.github.io/jk64-plugin-reportmap/
MIT License
43 stars 16 forks source link

Error: SyntaxError: Unexpected token , in JSON at position 1618 #136

Closed JamieKThomas closed 3 years ago

JamieKThomas commented 4 years ago

Hey, I keep getting this issue when trying to create a pinned map. I've referenced the documentation and my API key and SQL query are both working fine. Any help would be great with this!

jeffreykemp commented 4 years ago

I'll need more information in order to diagnose this issue. Can you please, either: (a) create a test case that reproduces the issue on apex.oracle.com; or (b) check the console log / network tab for the response coming from the wwv_flow.ajax call - and post the response data, and post your source query and NLS settings for your session. image

RichardAPickett commented 4 years ago

Hi Jamie, I have come across this too. In my case this occurs when there is no lat or lng, ie they are blank in the source data or garbled in some way. It may not be the same for you, but I would suspect the data source in one or more fields/records.

jeffreykemp commented 3 years ago

In the next release (v1.5) I'll change it so that if any lat or long is null, the map will not fail but neither will it show the pin (for obvious reasons).

RichardAPickett commented 3 years ago

Thank you Jeff

On Sat, 9 Jan 2021 at 02:35, Jeffrey Kemp notifications@github.com wrote:

In the next release (v1.5) I'll change it so that if any lat or long is null, the map will not fail but neither will it show the pin (for obvious reasons).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jeffreykemp/jk64-plugin-reportmap/issues/136#issuecomment-757081554, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALFEQZDH55DUT77AE2XBEQLSY66FFANCNFSM4TOAHU4A .