How to get the exact lat lng from Google Map url

This is an example of google map url:,104.943248,17z/data=!3m1!4b1!4m5!3m4!1s0x310957360e265763:0x4a3989b09e7ae9c7!8m2!3d11.520896!4d104.945442?hl=en I have searched around about goog...
more »

2017-05-26 05:05 (1) Answers

how to pass iframe in react component

I am trying to make a simple iframe in my react component that will show a google map location. I am currently hard-coding the src like this{ return( <div> {} ...
more »

2017-05-07 20:05 (1) Answers

Redirect Javascript url with variables

I need to calculate the distance between two places by using google maps API. they provide the distance by this url :
more »

2017-04-23 15:04 (4) Answers

Rails: page wont load without refreash

I am using Gmaps4Rails in my site and am having issues with the map and its content loading when navigated to from the nav bar. If I click on the navigation to the map page from a different page, the map will not load. However, when I refresh the pag...
more »

2017-04-19 20:04 (0) Answers

Google Maps URL Scheme for iOS - Terms of usage

I'm thinking about using the Google Maps URL Scheme to provide the user with directions to certain places in my iOS app that will be available on App Store.In the tutorial , it is stated that an Google API key is not needed for this. My question is,...
more »

2017-04-17 11:04 (0) Answers

How do I achieve this in iOS (swift)?

I am a beginner programmer. I am developing a Google Maps app and on a click of a button, I would like all of the tapped coordinates (I already have this) to stop recording, and instead, start to populate new arrays. This is in order to save coordin...
more »

2017-04-06 22:04 (2) Answers

Why doesn't my 'didTap marker' function work?

I have been building a Google Maps iOS app and somehow my 'didTap marker' function does not work. If I tap on a marker on the map, the whole view simply just gets dragged off to left, but no code gets run. Otherwise, the print functions below would w...
more »

2017-04-05 10:04 (2) Answers

Angular-Google-Maps library not loading

I use angularjs and node for my application, and I want to integrate google maps in my app. I use this set of directives!/, Problem that is showing up is this: Uncaught Error: [$injector:modulerr] ...
more »

2017-03-26 23:03 (1) Answers

HTTP error 400 on google_elevation() call

I am using the R-package googleway to decode polylines using decode_pland subsequently getting the elevation data at the corresponding lat/lon coordinates using google_elevation. I get the polylines from Strava, using the rStrava package. Sample pol...
more »

2017-03-12 11:03 (1) Answers

Getting randomly latitude/longitude data in R

I simulated a dataset for an online Retail market. The customer can purchase their products in different stores in Germany (e.g. Munich, Berlin, Hamburg..) and in Online stores. To get the latitude/longitude data from the cities I use geocode from th...
more »

2017-02-27 05:02 (1) Answers

Google Maps API full screen in SWIFT3

This is the current code, after making the edits suggested, it no longer shows a marker on the map for Sydney Australia class LocateVC: UIViewController { @IBOutlet weak var mapView: GMSMapView! override func viewDidLoad() { super.viewDidLoad(...
more »

2017-02-22 15:02 (1) Answers

Android Studio - No Option to add dependencies?

I want to add GooglePlayServices to an already existing project (Libgdx). But i have an problem, after i added them to the build.gradle file, they dont show up. I already installed GooglePlayServices using the SDK manager. What did i do wrong ..? Wh...
more »

2017-02-16 20:02 (1) Answers

Google Maps zoom out to GPS and markers

I am trying to show three things on map : GPS (the current location) , Marker 1 , Marker 2, but I am not sure I am doing it right or not ! Here is my code : self.startMarker.position = CLLocationCoordinate2D(latitude: self.startLatitude, longitude:...
more »

2017-02-14 09:02 (2) Answers