Ваши комментарии

Looking at your code and not seeing an alias="UP" object? As a result I am not seeing your miller panel onselect.
Greg,

Can you add build permissions for me, otherwise I can't open the texteditor and view your WIRE.

Thanks,
This is the nature of XML, it does require XML encoding.

For double quotes you would have to use "
Try adding an alert tag to the action to see if it is firing or not.

You do have your action set to alpha UP to zero, which would make it invisible. If you want to see it, you should set the value to 1.
use a code block to show wire

<code></code>
The current map tag does only allow a single region to be defined, but similar to the datasource example on the maps documentation, you could create an XML file that contains several regions.

http://content.rarewire.com/wordpress...

http://earthquake.usgs.gov/earthquake...
Yeah in that case load would work great. you would need to set up variables to set when a certain pin is touched so you know which image to load.

If you wanted pins to be different images, you would need to create additional annotation classes.
Try this example. To change the pin image, make sure you are pathing to an image that exists on your project.



<wire>
<classes>
<class name="annotations">
<annotation name="office" image="NAMEOFIMAGE.png" location="[param:location]" title="[param:title]" subtitle="[param:sub]" animatedrop="yes" accessoryview="left" accessoryviewwidth="100" accessoryviewheight="100" >
<panel name="accessory" width="25" height="25" background="ff0000">
<text name="test" width="100%" height="100%" color="#ffffff" font="arial" size="12" alignment="center" text="[param:text]"></text>
</panel>
</annotation>
</class>
</classes>
<main>
<panel name="test" width="100%" height="100%" >
<map name="map" alias="MAP" width="100%" height="100%" type="map" currentlocation="yes"></map>
</panel>
</main>
<actions>
<action name="pin" oninit="yes">
<assign property="object:MAP.region" value="38.989983 -95.292835 38.926858 -95.202026"/>
<create class="annotations" location="38.9581 -95.2478" title="University of Kansas" sub="address" text="PIC" target="MAP"/>
<create class="annotations" location="38.965096 -95.235983" title="Pyramid Pizza" sub="address" text="PIC" target="MAP"/>
</action>
</actions>
</wire>
Assuming you are talking about Maps here. There is an attribute called onselect within the annotation tag that can trigger an action based on the touch of a pin on the map.

Also if you want more than just title, you can add accessoryview="right" and populate the accessory view with other objects. The max height is 100 px though.

I will be at the party, of course!
I see now what you are asking. So for the confusion. Unfortunately this is not a current feature in WIRE.

I would be more than happy to log this as a feature request and see if it can't get any traction in our next release cycle.

Сервис поддержки клиентов работает на платформе UserEcho