google-maps-api-2

Android GoogleMaps GroundOverlay Padding

懵懂的女人 提交于 2020-02-27 09:56:12
问题 This post is very similar to This, which does not currently have a solution (3 years old) The main issue is that GoogleMaps seems to be adding an unnecessary amount of padding around my ground overlay image this doesn't make sense to me since the boundaries are set to the same lat,lngs as the ground overlay. @Override public void onMapReady(GoogleMap googleMap) { final LatLngBounds NewarkBounds = new LatLngBounds( new LatLng(FILL, -FILL), new LatLng(FILL, -FILL) ); mMap = googleMap; mMap

How To Change Mrker Color On Click Google Map V2 C# Web Application?

时光怂恿深爱的人放手 提交于 2020-02-06 15:58:06
问题 i am changing my polyline color on click my code, GEvent.addListener(polyline, "click", function() { polyline.setStrokeStyle({ color: "#FF0000" }); }; How can i change the marker color on click ?? Hopes for your reply... 回答1: You'd need to use custom Icons to achieve that. Same question: How can I change the color of a Google Maps marker? 来源: https://stackoverflow.com/questions/7170418/how-to-change-mrker-color-on-click-google-map-v2-c-sharp-web-application

provide google maps api key from config.json file

China☆狼群 提交于 2020-01-24 21:28:07
问题 I have config.json file where i have procided all urls and keys. There is one parameter called "googleMapsApiKey" where i have my "map key". I want to provide this key to my module file so that i can use google maps but I am unable to provide it. Below is my code. config.json { "googleMapsApiKey": "MY KEY", } MobileContentModule.ts import { ConfigService } from '../../../HiP-CmsAngularApp/app/config.service'; @NgModule({ imports: [ AgmCoreModule.forRoot({ apiKey: 'WANT TO PROVIDE THAT KEY

WebView Links not opening

一世执手 提交于 2020-01-23 12:11:53
问题 I am trying to open a link using Webview in Android. There are some links embedded into WebView. My problem is webview is not opening any link that does not starts with www. For ex, www.google.com is working but maps.google.com is not.I have also tried to override WebViewClient but it didn't work. One thing I noticed is by putting Toast to see what url is being called in WebViewClient. It showed perfect for www.google.com but returned nothing for other links. I thing WebViewClient is not

WebView Links not opening

穿精又带淫゛_ 提交于 2020-01-23 12:11:34
问题 I am trying to open a link using Webview in Android. There are some links embedded into WebView. My problem is webview is not opening any link that does not starts with www. For ex, www.google.com is working but maps.google.com is not.I have also tried to override WebViewClient but it didn't work. One thing I noticed is by putting Toast to see what url is being called in WebViewClient. It showed perfect for www.google.com but returned nothing for other links. I thing WebViewClient is not

Change GMSMapView default map background color in iOS

你。 提交于 2020-01-20 08:46:08
问题 The GMSMapView in iOS has a default background color of tan, or something like it. I have a requirement to change that color to white. I've tried using a subclass of GMSTileLayer without success (or errors). I need to place custom map overlays with white backgrounds onto the map view. In areas without the overlays, the base map color needs to match (white). Tried the following without any luck: [mapView setBackgroundColor:[UIColor whiteColor]]; Can anyone offer suggestions, or point me to a

Customizing clickable area on a Marker in Google Maps v2 for Android

喜你入骨 提交于 2020-01-20 05:53:10
问题 I am currently using Google Maps v2 API for Android and doing some custom overlays. For starters, I create a custom bitmap that is quite a big larger than the standard "marker". I know that using an older Maps API, you can create a custom overlayitem which controls the click-able area, but it must also be possible on the newer Maps API. I simply want my custom marker's click-able area to be the same as the custom bitmap icon I am setting it to. I have read over the examples and documentation

Change Google Places picker Action bar color

杀马特。学长 韩版系。学妹 提交于 2020-01-17 13:09:45
问题 Good morning, i am quite new in Android and i have a problem setting the color of the built-in action bar in Google Places Picker. The documentation of this one clearly says that the action bar color inherits the matherial theme style of the project. The problem is that i have Theme.AppCompat.Light.NoActionBar and the color of this style isn't passed to the Google Place Picker because it uses only the colors of material themes. I would like to ask if it's somehow possible to replace Theme