Google street-view show directions trail - javascript

Is it still a feature to render road on google street view?
Most articles that mention it are form 2008-2009, so i assume they removed it in new maps?
Is there way to programmatically show directions blue line on street view panorama?

After looking at Google's Documentation, Polyline/Direction is not supported.
You can only add Markers, InfoWindows and custom OverlayView

Related

google maps API highlight areas

Is there a way to highlight areas with Google Map JS API v3?
I've seen some websites do it
here are some examples:
http://www.streetadvisor.com/new-allakaket-yukon-koyukuk-alaska
http://www.homely.com.au/werribee-wyndham-melbourne-greater-victoria
http://www.realestate.com.au/neighbourhoods/upwey-3158-vic
This is called a polygon.
See the Google Docs for information.
You can manually set polygon points in JS.

How do I add an address search to my Google Map Fusion Layer?

I've got a embedded Google Map in a website that has a Fusion Table Layer and I was wondering how I add an address search to this map that will locate to the searched area though still have my Fusion Layer on it so I can retrieve data for that area.
I have looked at the Google Maps Places API and I managed to implement the Places Search Box: https://developers.google.com/maps/documentation/javascript/examples/places-searchbox
However, when I search a place using this, it goes to the location as a standard google map and my fusion layer is lost.
I believe this is something to do with when it creates a new map after the submitted search but I don't know how to edit this to redraw my fusion layer.
Also, I would prefer to use my own search box that wasn't on top of the map, so I can position it elsewhere on the page. Is this possible?
Any help is greatly appreciated, thanks.

Google Maps v3 marker with icon and image

I'm trying to add markers on my Google Maps V3. I want to have similar markers as on Foursquare, where they join an icon and image (with JS) and create one big marker.
Does anybody know how to accomplish this?
Rich marker perhaps?
Rich Marker v3
PS. the copy of richmarker.js from here worked better for me

Google Maps API V3 - Load map first and then load markers

I am creating a page to show a list of locations(markers) on Google maps. The number of markers is dynamic and can be quite large. This will adversely affect user experience when the map (along with the markers) are taking too long to load.
Can anyone point me in the right direction to load the map first and then load the markers. Any help much appreciated.
Use a marker manager. I used one for Google Maps API v2 (for on-demand loading of ~2000 markers via AJAX) and I am sure there's one for API v3. A marker manager is class that allows you to selectively display markers on a Google Map. Instead of adding markers to map, you use add them to the marker manager and it takes care of when and how to display the markers. The markers that lie outside the "visible" region are removed hence its fairly memory efficient. A marker manager class may provide "clustering" option (or may be you need another class for this). A cluster manager displays one marker that encompasses multiple markers when markers are too close, specially at high zoom level. Hope this helps you in the right direction.

How to achieve Bing maps like InfoWindow in Google Maps?

I'm using Google Maps v3.
I really like the InfoWindows found in Bing, as opposed to Google.
Screenshots & functionality found here comparing the two:
http://www.axismaps.com/blog/2009/07/data-probing-and-info-window-design-on-web-based-maps/
Question: How can I replicate Bing like InfoWindows while using Google Maps v3?
UPDATE: To be more specific, what I like about Bing's InfoWindows include:
- The pointer dynamically changes sides from left/right/bottom/top, as opposed to Google limited to only have the InfoWindow pointer on the bottom
- Bing's InfoWindows use less space
- You can configure Bing's InfoWindows to pop up outside of the map bounders so that you don't have to autopan the map to display the marker's InfoWindow
Check out google-maps-utility-library-v3. Specifically, look at InfoBox. It allows you to style the infobox however you want, although you have to do the styling on your own. I don't think you'll be able to have the infobox display outside the map viewport, but you can turn off autopan.

Categories