Questions tagged as 'google-maps'

2
answers

Place the gmap-autocomplete component of vue2-google-maps within the map

I'm using the "vue2-google-maps" package in an application developed with Laravel 5.7. In this case I am creating a component with the name google-map . Dendro of this component uses gmap-autocomplete and gmap-map . The component is regi...
asked by 17.12.2018 / 03:50
1
answer

How can I calculate the center of a polygon with the Google Maps API [closed]

How can I calculate the center of a polygon (Polygon) with the Google Maps API?     
asked by 12.05.2018 / 00:48
1
answer

Create polygon layer in google maps api js

Good morning, I have the following coordinates:    -90.833910,13.994037 -90.833918,13.994095 -90.833924,13.994152 -90.833930,13.994207 -90.833936,13.994263 -90.833943,13.994322 -90.833951,13.994382 -90.833959,13.994440 -90.833965,13.994494 -9...
asked by 07.09.2017 / 19:34
2
answers

Error google maps api v2

I'm making an application that contains a map, using the google maps api v2, what the map does is show you your location and the point closest to you, looking at a series of previously saved points. The problem is that I have tried different...
asked by 05.04.2016 / 00:29
1
answer

Why do I have to put two references to the GoogleMaps APIs?

This is one of many questions or queries I have about the implementation of Google Maps on a web page. The first one is that by entering the following line with my APIKEY the map IS NOT SHOWN: <script src="https://maps.googleapis.com/maps/a...
asked by 20.12.2017 / 19:27
3
answers

Calculate distance between two points api google maps php

Having the points I need to calculate the distance between them to make a calculation of a price, how could I do it from php? Doing it from the frontend with the javascript api would be unsafe because they could inject a distance that is not cor...
asked by 16.11.2017 / 13:57
1
answer

Show bookmark in Google Maps Api Js (Only if you are inside the radio circle)

I need to show markers on a map, only if they are within the radius of the circle shown on the screen. But I do not know how to validate if the marker is or is not inside the radio. var myLatLng = { lat: 14.151171, lng: -90.841083 }; va...
asked by 30.10.2017 / 17:30
1
answer

hide key of google maps in web page

I'm trying an app and I use the google maps libraries, but when I upload the script to my main website, if I analyze the code, it looks like my key from google maps. //maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key="Mi key...
asked by 17.08.2017 / 17:01
1
answer

React, Google map: "Unexpected token" and "google is not defined" when deployed

I'm getting two errors, the first: ###Uncaught SyntaxError: Unexpected token < And the second: ###ReferenceError: google is not defined When I run it on my computer everything works but at the time of deployment in now.io e...
asked by 11.06.2018 / 08:09
1
answer

Problems with Google-Maps in Drupal 7.5

I am working with a template in drupal in which I need to place a map of google maps , install the gmap modules and others that are needed to be able to place the maps. When I place the map on an internal page it works perfectly,...
asked by 04.08.2016 / 07:39