What I am trying to achieve is custom looking navigation for the maps. the postion controls and the map type controls.
I was able to create custom zoom in and out buttons for the maps app I am working on, But I wasn't able to figure out if I could also achieve this goal. Yaz On Mon, Jul 27, 2009 at 9:11 PM, pamela (Google Employee) < [email protected]> wrote: > > Hi Yaz - > > Sorry, can you explain what exactly you're trying to achieve? > > - pamela > > > On Tue, Jul 28, 2009 at 10:04 AM, Yaz<[email protected]> wrote: > > > > Hey Panela > > > > thats a great example. I was able to work with it and get it to do > > what I wanted with custom movieclips. > > > > I was just wondering if there was a way examples for doing the same > > thing with the navigation controls (ie the arrows for moving the > > viewport around) and for the map types. > > > > > > > > On Jul 21, 12:31 am, "pamela (Google Employee)" <[email protected]> > > wrote: > >> Yes, that does work too; there's one demo that shows that (VSlider). > Glad > >> you worked it out. :) > >> > >> On Tue, Jul 21, 2009 at 5:29 PM, Joshua Rhoades <[email protected]> > wrote: > >> > Thanks. > >> > I started implementing a solution using this method, then decided I > didn't > >> > want to have to re-implement some of the Button class functionality > using a > >> > Sprite, and so I looked some more and went another route. I put the > map and > >> > my buttons in a Panel with layout=absolute with no header and no > border. It > >> > seems to work. > >> > >> > On Mon, Jul 20, 2009 at 7:03 PM, pamela fox <[email protected]> > wrote: > >> > >> >> Hi J- > >> >> You can create a custom control. See the docs here: > >> > >> >> > http://code.google.com/apis/maps/documentation/flash/controls.html#Cu... > >> > >> >> < > http://code.google.com/apis/maps/documentation/flash/controls.html#Cu...>- > >> >> pamela > >> > >> >> On Tue, Jul 21, 2009 at 1:35 AM, J. <[email protected]> wrote: > >> > >> >>> I'm new to Flash/Flex and the Google MAP API. > >> >>> I want to add a Button on the map and I can't find any examples of > how > >> >>> to do this. Can this be done? If so, how? > >> >>> I do NOT want it at a certain LatLng (I've seen those examples). I > >> >>> want it in the upper left or preferably upper center. > >> > >> >>> This ActionScript code adds text in the upper left on the map: > >> >>> var statement:TextField = new TextField(); > >> >>> statement.text = "Hello World!"; > >> >>> map.addChild(statement); > >> > >> >>> However, doing this with a Button does not seem to work. I don't get > >> >>> an error, but I don't see a button. > >> >>> var btn:Button = new Button(); > >> >>> btn.label="Play"; > >> >>> map.addChild(btn); > >> > >> >>> Thanks in advance. > > > > > > > > > -- Yaz Jallad Twothree.ca [email protected] 604 787 1953 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
