Get "map control styles"

38 views
Skip to first unread message

Paul Smith

unread,
Jun 21, 2011, 6:36:38 AM6/21/11
to Google Maps JavaScript API v3
It seems from other posts that it is not possible to get hold of the
"style" of the various controls. For example the "how to create a
custom control" demo, produces buttons which look very out of place
compared to the standard "Map/Satellite" buttons.

If the Google APIs are to be used to create professional looking
output, these there has to be consistent styles, if only because I
thought the whole point was whether the created site was on Chrome,
Firefox, IE or some smart phone, it all should look consistent against
the capabilities of the platform.

This is only possible if the customer control, and any sub-menus etc
(think "Terrain" below "Map") automatically change in-line with the
standard Google controls.

So come in on Google, give us a way to produce buttons which just
"learn" the current style.

Papadeltasierra

en4ce

unread,
Jun 21, 2011, 7:58:21 AM6/21/11
to Google Maps JavaScript API v3
why would you want that anyway? just create a custom control and
that's it... you want to animate this controls ?

Paul Smith

unread,
Jun 22, 2011, 4:22:27 AM6/22/11
to google-map...@googlegroups.com
  • Go and look at the control-custom.html code sample.  Does the "user created button" look professional to you when compared to the standard controls?
 
And no, I don't want to be creating new button styles every time someone at Google decides that the standard formats should change.  Nor do I want to have to know what the standard buttons look like on Chrome, or Firefox, or IE, or iPad or any other browser platform (I presume they change to match browser capabilities).
 
I want my custom control to look exactly like it was created by Google's own developers - always.  Only then can any page I create look professional and will integrated.
 
Papadeltasiera.
Reply all
Reply to author
Forward
0 new messages