google-map-geofence icon indicating copy to clipboard operation
google-map-geofence copied to clipboard

getting null in "selectId(infoId).value"

Open farhanali2325 opened this issue 5 years ago • 0 comments

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

farhanali2325 avatar Sep 30 '19 10:09 farhanali2325