google-maps

Real time sharing of GPS location [closed]

牧云@^-^@ 提交于 2021-02-17 16:55:52
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Improve this question I'm pretty new in the android world. I am wondering how can I get the position of my friends and display it on a map. More precisely, I don't know how to share the position of my friends and I. Maybe have to use a server or something like that ? Is it hard to code

How can I add a 3d object as a marker on Google Maps like Uber does

淺唱寂寞╮ 提交于 2021-02-17 11:47:38
问题 I want to add a 3d marker for showing cars on map with rotation like Uber does but I can't find any information on adding 3d objects on Google Maps SDK for iOS. Would appreciate any help. Apparently no one is seeing what OP and I are seeing so here's a video of a Uber car turning 90 degrees. Play it frame by frame and you'll notice that it's not a simple image rotation. Either Uber went through the trouble of doing ~360 angles of each vehicles, or it really is a 3D model. Doing 360 images of

Change icon back to default state after infoWindow closed Google Maps

拜拜、爱过 提交于 2021-02-17 06:52:19
问题 So my goal here is to make the icon go from the "normalIcon" state to the "activeIcon" state on button click, which it currently does. It opens an infoWindow when the pin is clicked as well. I want the icon to go back to the "normalIcon" state when the infoWindow is closed. Right now, if you click on a different location it changes the icon back to the "normalIcon" but you have clicked on another icon which is now the "activeIcon" Here is the javascript I have: var normalIcon = 'Pin.png'; var

Unable to execute rest api via curl [closed]

北城以北 提交于 2021-02-17 05:17:28
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 days ago . Improve this question I am using Google Geolocation API and trying to run it via curl. But I am unable to do it Request { "considerIp": "true", "wifiAccessPoints": [{ "macAddress": "00:1e:64:f6:45:aa" // my system mac address } ] } The above request is saved into a file and the file

filter only sublocalities in google maps api

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-17 02:15:14
问题 I want to get nearby sublocalities in google maps api var input = document.getElementById('searchTextField'); var autocomplete = new google.maps.places.Autocomplete(input, { types: ["geocode"] }); This adds autocomplete for all places being typed in the text box. I want to filter out only the sublocalities and get the nearby sub localities in the autocomplete Check the working version here 回答1: Types: ["(cities)"] will give you just localities. From the documentation : "types | Type: Array |

Can't get transit directions in Japan

一笑奈何 提交于 2021-02-16 21:12:06
问题 Searching for directions from 35.443708,139.638026 to 35.689487,139.691706 yields results on Google Maps, however this query to the directions API does not: https://maps.googleapis.com/maps/api/directions/json?sensor=true&departure_time=1350456190&destination=35.689487,139.691706&origin=35.443708,139.638026&mode=transit Anyone have any ideas? It seems to be specific to Japan. You'll want to update the departure_time above to now if you're actually testing this. I've filed this bug with Google

Google maps - get country, region and city name from longitude and latitude (PHP)

给你一囗甜甜゛ 提交于 2021-02-15 10:09:11
问题 I would like to get country, region and city name from longitude and latitude over Google maps API (V3?) - with PHP. I just can't manage to get it for every county, I managed to get this code but it doesn't work on other counties because the returned result is different (the only correct information is country but even that is returned in local name not English name): <? $lok1 = $_REQUEST['lok1']; $lok2 = $_REQUEST['lok2']; $url = 'http://maps.google.com/maps/geo?q='.$lok2.','.$lok1.'&output

Google maps - get country, region and city name from longitude and latitude (PHP)

﹥>﹥吖頭↗ 提交于 2021-02-15 10:09:01
问题 I would like to get country, region and city name from longitude and latitude over Google maps API (V3?) - with PHP. I just can't manage to get it for every county, I managed to get this code but it doesn't work on other counties because the returned result is different (the only correct information is country but even that is returned in local name not English name): <? $lok1 = $_REQUEST['lok1']; $lok2 = $_REQUEST['lok2']; $url = 'http://maps.google.com/maps/geo?q='.$lok2.','.$lok1.'&output

Flutter- Getting and error when asking for Nearbyplaces

≡放荡痞女 提交于 2021-02-11 17:52:50
问题 Hi I want to implement Google Map and nearby Search in Flutter and I almost did it but I don't understand the error that I'm getting while trying to fetch the places near my position. I searched online but I couldn't figure it out, can anyone tell me what is wrong please. I lost almost 2h searching the web for the fix but nothing. This is the code : import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart

How can I fix 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference?

こ雲淡風輕ζ 提交于 2021-02-11 17:25:38
问题 I'm new to android. I am currently developing an app that displays multiple locations on a map which has its marker locations taken from a central database that I have already set up and I know is working how can I fix my problem. Here is my code for MainActivity.java package com.example.defiblocator; import android.Manifest; import android.content.pm.PackageManager; import android.location.Location; import android.os.Build; import android.os.Bundle; import android.widget.TextView; import