# Possible google maps style draggable map with buttons?

**URL:** https://forum.kirupa.com/t/possible-google-maps-style-draggable-map-with-buttons/328225
**Category:** flash
**Created:** [April 29, 2012, 1:35pm UTC](https://forum.kirupa.com/t/possible-google-maps-style-draggable-map-with-buttons/328225 "2012-04-29T13:35:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Profitemole](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@Profitemole](https://forum.kirupa.com/u/Profitemole)
#### Post date: [April 29, 2012, 1:35pm UTC](https://forum.kirupa.com/t/possible-google-maps-style-draggable-map-with-buttons/328225/1 "2012-04-29T13:35:29Z")

</div>

Hi, I’m trying to build a draggable map (within a certain visible area) that has clickable buttons on it, just like google earth. I’d like the map to be quite larger but only a section of it visible but it can be dragged around (inside the visible area) so that other areas can be made visible.

I haven’t been able to find anything to help me so far =/

EDIT: I found [this tutorial](http://www.kirupa.com/forum/www.kirupa.com/developer/as3/flash_as3_google_maps_api_pg1.htm) but I can’t seem to make it work. a) I’m using a mac but found the right folder to copy the file too and b) I get this error “1046: Type was not found or was not a compile-time constant: DirectionsEvent.” When I open the components box in flash, under Standard Components I have “GoogleMapsLibrary” so I guess it should recognise it?
