Closed (fixed)
Project:
GMap Polygon Field
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2017 at 07:50 UTC
Updated:
15 Aug 2017 at 10:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tatarbjComment #4
lingros commentedHi @tatarbj,
thank you for the idea and for the patch. I've used it, but I've done some modifications such as extra validation for stroke weight (you used integer validation, but I think it's inappropriate here, weight can be decimal number and shouldn't be negative), additional check for stroke color and so on.
Checking gmap key isn't probably possible, at least not simply. I've found some discussions about it (e.g. https://stackoverflow.com/questions/4428915/how-do-i-catch-an-invalid-ap... and https://groups.google.com/forum/#!msg/Google-Maps-API/oHfKEazKd0M/9yqQh8...). So I suggest not to solve it, if you enter invalid, gmap just won't render and in JS console you can read more informations about an error.
Comment #5
tatarbjGreat collaboration it was then :)
Comment #6
lingros commented