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 non-whitespace character after JSON at position 2097 #165

Closed holtzmanwl closed 1 year ago

holtzmanwl commented 1 year ago

Describe the bug The plugin works when I choose the Marker Cluster option but with the Heat Map option I get the error in the title of this bug.

To Reproduce

  1. Add a page to my application
  2. Create a JK64 Report Google Map R1 on that page
  3. Enter an SQL query with lat, lng, and two other fields
  4. Choose Heatmap in the visualization attribute
  5. View the output in the application

Expected behavior Expect to see a heat map as shown here https://github.com/jeffreykemp/jk64-plugin-reportmap

Screenshots image

Device (please complete the following information):

Plugin Attributes heat map error.txt Debug Message Data.csv

image

holtzmanwl commented 1 year ago

Sorry, I figured it out based on the Demo app. My input needed SQL needed some work! Thanks for this amazing plugin!