google-map-geofence
google-map-geofence copied to clipboard
getting null in "selectId(infoId).value"
I am getting null in the following function:
Geofence.prototype.setInfo = function(polygon, infoId) { selectId(infoId).value = getCoordinatesString(polygon); }
selectId(infoId).value
gmap-v3-geofence.js:208 Uncaught TypeError: Cannot set property 'value' of null at Geofence.setInfo (gmap-v3-geofence.js:208) at drawPolygon (geofencing.js:27) at geofencing.js:17