Cartometric Blog

A scrapbook of GIS tricks, with emphasis on FOSS4G.

Google Maps for Flash/Flex: Dead Man Walking

with 3 comments

“When life gives you lemons..”

Let’s just review the signs:

  • First, the Google Maps Flash/Flex API had not been updated for quite some time.
  • Meanwhile, some developers were sharing a hack to bypass a nasty initialization bottleneck in the Maps Flash/Flex API that stalled map loading in AIR apps.
  • At the other end of the yard, Google lifted its registration key requirement for the Maps JavaScript API V3; yet, the Flash/Flex counterpart remained unchanged in this respect (curiously, it was key-hashing that caused AIR apps to stall).
  • Finally, and though unrelated, Pamela Fox, one of the higher-profile support engineers attached to Maps developer relations, left Google for other pursuits.

In spite of the above indicators, I started an eBook titled: Google Mapping the Shapefile with Flex, PHP, and PostGIS. After four or five chapters, I threw in the towel to enjoy what was left of the summer ..but, maybe that was a good thing, because lo and behold, the Maps Flash/Flex API was a dead man walking. In their defense, Google saw comparatively less consumption of the Flash/Flex API vs the JavaScript flagship, so they pulled the plug on the Flash stuff. It’s an understandable reaction ..but I do wonder if that inertia will eventually affect StreetView, which (I believe) remains in Flash.

I had planned to return to my book over the winter, and I was optimistic about re-approaching O’Reilly with the finished book and a suggestion that it be released as a print title. So clearly I was disappointed by the deprecation announcement. Also, I really like Flex! If I want to make an interactive web map, I’d rather do it with Flex! Where does this leave me?

“..make lemonade.”

That was lemons. But it turns out, there’s a chance to make lemonade. It’s called OpenScales, and it’s a Flex mapping API with some real potential. While investigating OpenScales, I had some difficulty finding examples of raw implementations, where the Flex client UI has a direct line (PHP) to vector GIS data stored on a PostGIS-enabled PostGREsql database. Fortunately it wasn’t difficult to setup. So, rising from the ashes of my failed eBook, and primed by the excitement of finding OpenScales, I decided to start this blog as a place to post OpenScales examples. And that’s exactly what I’ll do.

In the next few months, I’ll post several OpenScales examples here, with the goal of touching upon the following topics:

  • Publish Shapefile or Personal Geodatabase data to an OpenScales map by converting it into usable flatfiles or migrating it into a spatially-aware database and pulling it from there.
  • Load geodata into OpenScales from the following formats: XML, JSON, GML, and KML.
  • Load data faster by enabling AMF support with AMFPHP, et cetera.
  • Pull WMS and WFS data from 3rd-party sources (I’m imagining a weather map).
  • Prepare custom basemap tiles for an OpenScales map and either load raster tiles direct from the filesystem or pull them from a PostGIS database.
  • Publish OpenScales-based applications to Android devices.

If I can do all that in a handful of months, I’ll be a happy camper, and with a little luck, a few people will stumble across this site and they will be too.

Wild! Stallions!

Written by elrobis

October 16th, 2011 at 3:26 pm

Posted in Uncategorized

Tagged with ,

3 Responses to 'Google Maps for Flash/Flex: Dead Man Walking'

Subscribe to comments with RSS or TrackBack to 'Google Maps for Flash/Flex: Dead Man Walking'.

  1. Please email us your inquiries or compose remarks listed below.
    Series An investors are interested in very different questions
    than B, C and so on. You find out truly promptly that going to increase a B round
    with an A tale simply doesn’t work. I had no hint until I located a photo of the orka being expanded at Epcot-
    they are big! I have a orka fruit expanding and a couple flowers opened today.

    They expand on every continent except Antarctica, and also
    have huge flowers contrasted to their stems. A recent research study by the International Bridge, Tunnel and also Turnpike Association compared the discharges of air
    toxins on an all-electronic, cashless toll roadway to those on a parallel non-toll
    road. Misting and also front fog lamps prevail greenhouse gas gadgets,
    which are made use of for the objective of the southern greenhouses and hot
    weather conditions.Misting systems support to cool in a fine haze that depresses the air temperatures when it vaporizes.

    When we get really rainy weather during the winter season months you won’t come across
    these heavy wooden greenhouses obtaining blown around or damaged by the wind, they are simply
    as well heavy to be influenced!

  2. After the stress is happy, keeping the aching tidy becomes vital.
    A shallow wound can be cleaned up using a light soap while extra serious wounds must be cleaned with
    saline remedy (deep sea), to prevent infection. Dead cells should be eliminated for an aching to
    recover effectively. This can be done with surgical treatment or less
    invasive ways such as watering gadgets that permit the bodies own enzymes to eliminate debilitated tissue.
    Some sores are so extreme that they require plastic surgery, which has one of the
    highest possible problem prices of any surgical treatment.

    see post

    13 Jan 20 at 1:14 pm

  3. Any person can see Weeds episodes with Satellite TELEVISION for COMPUTER; actually when this show premiered in the 3rd period; over 824,000
    individuals registered for the showtime channel. If you are a TV fanatic and enjoy watching several of your programs on television; then you are absolutely mosting likely to love the truth that you can view any one of your
    programs online. If you happen to miss out on a show and wish to watch it later this modern technology makes it easy to
    enjoy any show. All you do is type in the name of the show you want to enjoy in the database and the program will turn up.

    Any person can start to use this innovation as well
    as the great thing is that you can quickly obtain 3,
    000 networks for a tiny one time fee of $50 and also never ever need
    to pay an additional dime. Now if 3,000 networks is insufficient; then you can get 4,
    000 networks.

    look at this

    28 Jan 20 at 5:19 pm

Leave a Reply