Google map building style - google-maps-api-3

Is there any way to style the building in google map, like openlayer did?
http://workshops.opengeo.org/openlayers-intro/vector/style.html
I've been style google map with other elements, not label, only show roads and buildings, all i need to do is enhance the color of the buildings.
Thanks for any suggestion.

You can use "Styled Maps" and style "Landscape -> Man Made"
Discussion in the Google Maps API v3 group

Related

Custom Google StreetView with markers

I was wondering if you could put a custom StreetView with a marker. I am making a map that has city parks. I want it so if someone clicks on a specific marker, the custom StreetView pops up and shows the panorama. For the custom StreetViews I used Google Views. Is this possible?
Thanks in advance.
Yes, this is possible. Something close to it can be done in two ways.
The easiest option is to load Google maps from the main URL and wait. It will let you build a map or view your custom maps just below the search bar. Google Maps itself lets you create a custom map with markers. This doesn't sound like your desired option, but it is quick to implement. You can even add your own style.
The second is to create your own custom Street View tour, this sounds like your focus. You want the actual panographs to use your markers. This is fairly easy to do, but requires some programming. It is possible on both Google Earth and Google Maps. Check out the Google APIs such as https://developers.google.com/maps/documentation/javascript/reference#StreetViewPanoramaOptions. Options include changing out panographs for your own images, defining arrows including labels, overlays, pop-up boxes, action boxes, and more. Check out some options here: http://hpneo.github.io/gmaps/examples.html

Hide specific poi.business on gmap api v3

I succeeded to hide business POI on Google Maps API v3 with this topic.
But now I wonder if there is a way to be more specific.
I want to hide only hotels POI but still show restaurants and bars POI.
Is there a solution ?
Thanks
I don't think there is a way to be more specific. You can refer to the Styled Map Wizard and the documentation to see what you can toggle.

Can you change the view in Google Earth API from "Earth" to "Map" like in Google Maps?

I am developing a web page which uses the Google Earth plugin. I would like to display the map like in the first image with the "Earth" and "Satellite/Map" view options like you can in Google Maps, or at least be able to just show the map in "Satellite/Map" view:
Currently this is what the view looks like:
Is this possible?
Yes, you can use the Google Maps V3 to switch between Google Maps and the Google Earth Plug-in.
The google-maps-utility-library-v3 can be used to make this easier.
You can see a working example here.
Alternatively you can simulate a reasonable map view buy just turning of the terrain and photo imagery and turning on the borders and roads layers in the Earth Plug-in. If you then lock this view to 'plan' it works well.

Any minimal or night view or overlay for google maps api v3?

The default overlays that come out of the box for Google Maps API v3 Street, terrain, etc. appear to busy. I want to have a good "night" or "minimal" overlay that is like leaflet night view or minimal view http://leafletjs.com/examples/layers-control.html (select the layer control to switch between views) or a simple white and gray map without all the business of the colors. Are there such overlays that exist or settings that could be used so that I could use it/customize it for my Google Map?
You can create your own style. Here is the documentation
https://developers.google.com/maps/documentation/javascript/styling
Included is a style wizard that generates all the JSON for you
http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html

How to set google.maps.MapTypeId to earth view in Google Maps

How can I configure Google Maps to show in Earth View? I am using Google Maps V3
Iff by "Earth View" you're referring to the Satellite view, you want to set your MapType as shown on here.
map.setMapTypeId(google.maps.MapTypeId.SATELLITE);
Use this,
map.setMapTypeId('GoogleEarthAPI');
use this after setting up all things, like markers etc.
Good luck.

Resources