maps

“This page can't load Google Maps correctly.”

随声附和 提交于 2020-01-03 22:59:32
问题 I have an active Google Cloud Platform account for the purpose of integrating the map functions into my website. Currently I have a map on my contact page (https://voltfuse.com/contact) and on my dealers page (https://voltfuse.com/dealers). Until recently, I noticed that the map on my dealer page is no longer working, telling me that it was unable to correctly load. You can see an image of this in the attached "Broken Map.png". It's strange because the map is working perfectly with the same

country-labels on spplot()

不打扰是莪最后的温柔 提交于 2020-01-03 19:33:40
问题 I'd like to add name-labels for regions on an spplot(). Example: load(url('http://gadm.org/data/rda/FRA_adm0.RData')) FR <- gadm FR <- spChFIDs(FR, paste("FR", rownames(FR), sep = "_")) load(url('http://gadm.org/data/rda/CHE_adm0.RData')) SW <- gadm SW <- spChFIDs(SW, paste("SW", rownames(SW), sep = "_")) load(url('http://gadm.org/data/rda/DEU_adm0.RData')) GE <- gadm GE <- spChFIDs(GE, paste("GE", rownames(GE), sep = "_")) df <- rbind(FR, SW, GE) ## working plot(df) text

Android google maps APIs get directions programming

烂漫一生 提交于 2020-01-03 15:37:21
问题 I am new to Android google maps APIs. I am learning it from this TUT : http://mobiforge.com/developing/story/using-google-maps-android but there isn't any mention of getting the direction between 2 points. Is there any APIs can do this task in http://code.google.com/android/add-ons/google-apis/reference/index.html ? Thank in advance ! 回答1: Google maps API does not provide any routing capabilities. You can use an intent to fire the google navigator (assuming it's on your device) or the the

UK: How do you get maps of council locations on Google maps? (Like twitter does)

回眸只為那壹抹淺笑 提交于 2020-01-03 06:20:42
问题 On twitter, on a geotagged tweet, it now says something like: From North hertfordshire, hertfordshire And when clicked you see a map, with a polygon showing the area of north hertfordshire. They seem to have done it for all councils in the UK, rather than cities or town s. Is this information publicly accessible - lists of councils and the location covered? Is there a way of getting this from google maps API? Because Google must know this information, about county borders etc, but how do you

Calculate min distance between a “line” and one “point”

只谈情不闲聊 提交于 2020-01-03 05:15:09
问题 I have a "linestring" (with init and end points) and a single "point" (two coordinates). And I have implemented the following ActionSctipt code to use "haversine formula" to calculate the distance between two points (each point has x & y coordinates); this function can return the "distance" in "kms", "meters", "feets" or "miles": private function distanceBetweenCoordinates(lat1:Number, lon1:Number, lat2:Number, lon2:Number, units:String = "miles"):Number { var R:int = RADIUS_OF_EARTH_IN_MILES

getLastKnownLocation() always returning null, all providers are DummyLocationProvider

你说的曾经没有我的故事 提交于 2020-01-03 03:11:11
问题 I have seen many posts regarding this problem, but none of them offered a solution for me. I am trying to get the user position through the GPS (or, ultimately, any other valid provider). But I am always getting null locations. I do get a map, and can set an arbitrary location, is the providers that don't work. I have my MAPS key properly set (also checked that it was the right one), all necessary permissions set ( android.permission.INTERNET , android.permission.ACCESS_COARSE_LOCATION ,

Implement Google 3D maps for my Android app?

自作多情 提交于 2020-01-03 03:03:08
问题 is it possible to use the new Google 3D Maps for Android in my app? I'm developing an app and I want to add this. thanx! http://www.google.com/mobile/maps/3d/ 回答1: We have created this one: Nutiteq 3D Maps SDK. This is a SDK, not application, so you can use it in your apps as replacement of Google Maps SDK. 回答2: You can't. The Google Maps application no longer uses the same SDK MapView that we third-party developers use. Someday, perhaps they will update it, and then 3D maps will be possible,

React-native Airbnb-Maps: How do I render a button inside the airbnb maps pop-up box?

徘徊边缘 提交于 2020-01-03 02:48:21
问题 I am trying to render a button which I can use to redirect to another page within the description page (the pop-up-box if you select a marker) using AirBnb maps (using MapView.Markers ). I am not sure how to achieve this. Currently my markers look as follow: const markers = [{ longitude: 8.545592, latitude: 47.366465, description: "Bike 1", title: "Bike 1" }, { longitude: 8.545892, latitude: 47.366365, description: "Bike 2", title: "Bike 2" } ]; Whenever I try to input JSX into a text, I get

Exclude marker from clustering - Google Maps Extension (Android app)

喜夏-厌秋 提交于 2020-01-02 20:09:07
问题 I'm using version 1.3.1 of the Google Maps Extension and am trying to exclude a marker from being clustered. I have one marker that is set in the onCreate method of my app and it represents My Location. I want this to always be visible and not be clustered like the rest of my markers. Is this possible? I tried adding the marker before I set the clustering settings and before I called setClustering on the GoogleMaps object, but it doesn't seem to work. 回答1: If you are using just one Marker

Map Highlight Odd/Even Side of Street

烂漫一生 提交于 2020-01-02 17:33:06
问题 I have two coordinates of a street. Either both Odd or Even. So for example 15 ABC Street and 77 ABC Street (with their reverse geocode). I'm trying to draw a path line that is near the sidewalk. I used google maps api and did not find a way to do it. The directions api draws a line in the middle of the road, and I cannot find a way to do a geometric translation to either side of the street. I don't mind using any other API as long as I can solve the problem. 来源: https://stackoverflow.com