Yes, you should be able to create custom controls for everything. For
example, here's the pan control:
http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/PanControlDemo/PanControlDemo.html

- pamela

On Tue, Jul 28, 2009 at 2:51 PM, Yaz Jallad <o...@twothree.ca> wrote:

> 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) <
> pamela...@gmail.com> 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<o...@twothree.ca> 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)" <pamela...@gmail.com>
>> > 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 <rhoade...@gmail.com>
>> 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 <pamela....@gmail.com>
>> 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. <rhoade...@gmail.com> 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
> o...@twothree.ca
> 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 google-maps-api-for-flash@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api-for-flash+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to