temporary_user_name
temporary_user_name

Reputation: 37098

How to style Google maps info windows?

If you use the info windows in the iOS maps, they're sleek and small and aesthetically pleasing.

The google maps info windows, on the other hand, are huge white blocks with obnoxious shadows. Is there any way to style them-- to give them an entirely different appearance?

Upvotes: 0

Views: 2316

Answers (2)

skarE
skarE

Reputation: 5890

There is also a library called InfoBubble that uses the same constructor as the InfoWindow but allows you to customise it. The example page shows on that is styled like a iOS bubble.

Upvotes: 2

Andrew Leach
Andrew Leach

Reputation: 12983

I think you're talking about InfoWindows, not info boxes (the distinction is important).

This is a Google Maps Version 3 InfoWindow:

Google Maps image showing InfoWindow

There is an external utility library called InfoBox which allows things like these:

Google Maps image showing sample InfoBox Google Maps image showing sample InfoBox

so it is possible to show different styles of information callout, and it's almost certainly possible to do something like iOS does (image from Macworld):

Sample iOS map and info box

Upvotes: 3

Related Questions