logo

Example of Google Maps in Flex

Further to today's earlier post on using Google Maps with Flex, here's an example of it in use:

image

What you're seeing is a simple "admin area" I knocked together for Grouplets.co.uk - a site I'm building which lists large group holiday cottages in the UK. In the grab above I am editing a "region". In this case the Peak District Region. I've defined a region as a simple "square", which keeps it nice and simple. All it does it record the latitude and longitude of the SW and NE corners of the region. The SQL can then easily find all properties within those boundaries using the individual coordinates of each property. Doing it this way means I don't have to tie a property to any one region and can easily extend a region to include more properties and have a property in many regions.

Anyway, it's just an example of it in use. In this case it works by drawing a visible rectangle between the two movable markers. An example I took from here.

Using the Google Maps with Flex is actually a lot nicer than with JavaScript as you don't have to guess at the API. Type-ahead coding is there to help you.

Comments

    • avatar
    • Aaron Hardin
    • Mon 24 May 2010 01:14 PM

    Very cool. Thanks Jake!

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Mon 24 May 2010

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content