laravel-maps icon indicating copy to clipboard operation
laravel-maps copied to clipboard

Erros in CONSOLE and MAP get errors

Open choky10 opened this issue 7 years ago • 0 comments

`maps:469 [Deprecation] getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. (anonymous) @ maps:469

07:52:15.843 common.js:49 Uncaught TypeError: _.ra is not a function at common.js:49 at js?sensor=false:131 at js?sensor=false:60 at js?sensor=false:131 at Od (js?sensor=false:62) at Nd.xa (js?sensor=false:131) at common.js:1

07:52:15.851 js?v=3&key=AIzaSyDJCIOkYA4LivbhQqFyir1ozb9Virx_iCE&:38 InvalidValueError: setMap: not an instance of Map _.Pb @ js?v=3&key=AIzaSyDJCIOkYA4LivbhQqFyir1ozb9Virx_iCE&:38

07:52:15.871 geometry.js:2 Uncaught TypeError: _.k is not a function at geometry.js:2 at js?sensor=false:131 at js?sensor=false:60 at js?sensor=false:131 at Od (js?sensor=false:62) at Nd.xa (js?sensor=false:131) at geometry.js:1

07:52:15.930 util.js:47 Uncaught TypeError: _.k is not a function at util.js:47 at js?sensor=false:131 at Object. (js?sensor=false:60) at js?sensor=false:131 at js?sensor=false:60 at js?sensor=false:131 at Od (js?sensor=false:62) at Nd.xa (js?sensor=false:131) at common.js:1

07:52:15.940 infowindow.js:10 Uncaught TypeError: _.u is not a function at infowindow.js:10 at js?sensor=false:131 at Object. (js?sensor=false:60) at js?sensor=false:131 at js?sensor=false:60 at js?sensor=false:131 at Od (js?sensor=false:62) at Nd.xa (js?sensor=false:131) at util.js:1

07:52:21.619 stats.js:4 Uncaught TypeError: _.M is not a function at new a2 (stats.js:4) at stats.js:8 at js?sensor=false:131 at js?sensor=false:60 at js?sensor=false:131 at Od (js?sensor=false:62) at Nd.xa (js?sensor=false:131) at stats.js:1

07:52:21.624 util.js:228 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys Aw.j @ util.js:228

07:52:21.624 util.js:228 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required Aw.j @ util.js:228

07:52:21.707 js?sensor=false:39 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error`


I HAVE ALL ALREADY CONFIGURE: MI KEY EN .env. Mi Testing:

`Route::get('/maps', function(){ $config['directions'] = TRUE; $config['directionsStart'] = 'empire state building'; $config['directionsEnd'] = 'statue of liberty'; $config['directionsDivID'] = 'directionsDiv';

app('map')->initialize($config);

// set up the marker ready for positioning
// once we know the users location

$map = app('map')->create_map();
return view('sistema.findHospital')->with('map',$map);

});`

errorssss

choky10 avatar May 07 '18 12:05 choky10