Teie kommentaarid

yes, the region property is read and write, so you can start it in your map tag at a certain "level" and use assign to zoom it to a new coordinate.
Unfortunately with iOS 6 coming out next week and Apple dropping Google Maps, there will no longer be a "street view".

The best you can do is reassign your region as close together as you can so it zooms in a close as the maps allow.
WIRE supports comments just like you have presented <!-- --> will comment. So have at it!
So you are wanting every linkin the texttemplate to take you out of your App and into the Safari App? That could cause you to lose focus of you App.

Would you be better served to let the links launch in-app from a web container?
Yes you can. The only difference is you need to add "res://" to the front of the source and store it at the root with your main.wire.
Once the html file is loaded in the App, you can jump out to safari using an onnavigation action coupled with a load tag that takes you to a defined URL, but this will happen on ANY click in the html file, so you can't define it for each unique clickable link in the html file.
This could probably be solved by changing your onclickup to a simple onclick. Also make sure that your image and textfield live inside their parent in harmony so one isn't overlapping the other.
Well this does seem like an interesting situation. I have tested this functionality and it appears to work on my end.

Any chance you can send me the html file you are using so I can test that as well?

icahill@rarewire.com

Thanks.
You are very close here. A couple of things to note.

When you are using safari-http://www.rarewire.com as your URL, you don't need to add external="yes" that is only reserved for jumping out to other Apps that are not Safari.

Also you need to target your browser object differently. Because it is wrapped in a panel, you can use traditional pathing "../browser" or you can add an alias to your browser object and target that.

Here is a code sample:



<wire>
<main>
<panel name="panel" width="100%" height="100%" background="#ffffff">
<text name="main" width="110" height="100" color="#000000" font="courier" size="14" align="center" valign="center" text="Hello World!" onclick="xlink"></text>
<web name="browser" alias="BROWSER" url="http://www.rarewire.com" pagetofit="yes"></web>
</panel>
</main>
<actions>
<action name="xlink">
<load url="safari-http://www.rarewire.com" target="BROWSER"/>
</action>
</actions>
</wire>