Opened 9 years ago

Closed 9 years ago

#310 closed defect (duplicate)

Validate lat/long for leaflet API

Reported by: Dominic Hargreaves Owned by: Nobody
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords: migrated


If leaflet is passed invalid lat/longs (eg, as existed one one my guides, -00.174833) the javascript throws an error; at least if passed in as min_long, eg in action=index;format=map. This can result in the "Sorry, javascript not enabled" even though it is. Values should be validated on input and before passing to the leaflet library.

Change History (1)

comment:1 Changed 9 years ago by bob

Keywords: migrated added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.