Your comments

Can you use only one map object within a wire? I am trying to display a map that shows the user's current location with the map zoomed in enough to see details like street names and then trigger an action when they enter another region. Think about someone walking down a street and having an alert popup when they walk by a street.

It would be immensely helpful if there was a way to define multiple regions within a map, almost like hotspots that would trigger something to happen. I have tried everything I can think of (which admittedly is probably limited given my experience with maps).
Sweet! That works. Thank you!
No joy yet. I stripped out anything not related to this issue. Here is the result:


<wire>
<datasources>
<datasource name="Geo" source="significant-change" location="yes" query="location" providertype="location"/>
</datasources>
<main>
<map name="map" alias="MAP" width="100%" height="100%" datasource="Geo" currentlocation="yes" showuser="yes"></map>
</main>
<actions>
<action name="setmaplocation" oninit="yes">
<assign property="object:MAP.region" value="[object:MAP.gpslatitude] [object:MAP.gpslongitude] [object:MAP.gpslatitude] [object:MAP.gpslongitude]"/>
</action>
<action name="updatedlocation" datasource="Geo" datasourceevent="locationupdate">
<alert message="Location changed!" />
</action>
</actions>
</wire>
Well, I figured out that I was likely using it wrong to begin with. I switched my datasource to this:

<datasource name="Geo" source="standard" query="location" distanceFilter="1" providertype="location"/>

and my map to this:

<map name="map" alias="MAP" width="100%" height="100%" datasource="Geo" currentlocation="yes" showuser="yes">
</map>

With this action:

<action name="updatedlocation" datasource="Geo" datasourceevent="locationupdate">
<alert message="Location changed!" />
</action>

It still doesn't work as I expected it would, but again I am not certain I am using it/understanding it correctly. I am assuming that if the user moves far enough (in this case a maximum of 1 meter) it would trigger the iOS library to send a location update to the datasourceevent listener(?) which would then trigger my action. Forgive me, I am pretty new to location based stuff (which is why I was tinkering).

I am testing on my wife's iPhone 4/iOS6.

Any chance you have an example of some working code so I can see where I am going wrong?

Thank you for your help!