Geofence not rendering in chrome and edge but renders in firefox

I have created this aaplication with openstreetmap to render the geofence using gps longitude and latitude. I have used javascript and c# mvc for this application. my problem is geofence is renders in firefox without any errors. but it does not appear in chrome and edge browser. I have updated all browsers to latest versions as well. any support on this highly appreciated. Thanks in advanced !