Loc Finder page - Tutorial    
This topic is assigned to Victor

Sep 29, 2011 03:18 AM
Location Finder type pages serves for sorting locations that comply with the search criteria such as location name, type, distance from current location.  

This type of page handles an XML source file containing data related to locations: name, latitude/longitude coordinates, type of location, target URL and description.

Editing is done in Edit Location Finder Page. 

It is possible to preconfigure the output mode:
List - a list of locations (complying with the search criteria) will be displayed,
Map - locations will be marked by pins on map.

Output units can be set to either miles or km to measure distance from current location.

Location picker can be enabled/ disabled. If Picker is enabled users can pic a different location as starting point (instead of the current location). 

The Find button can be renamed and header image changed.

The XML file used as input source can be either stored locally on device or can be pulled from a URL. If XML is stored locally file name will be "pagename.html.xml" (for instance locfinder2.html.xml). If XML file is stored remotely, specify URL.

To edit page elements clicking on Page button

The following tables will open:

Field Items (allows changing order), Item Properties and List Items (allows adding types of locations and distances):

To edit locations clicking on Edit: Locations button

The following tables will open:

Locations (allows adding new locations (+button) and

Location Details (allows customizing each particular location in your list)

Location are determined by Name, Latitude/Longitude coordinates, Type, Target URL and a brief description. Types of locations are determined in the List Items table when editing page elements (see above).

Additionally to name and coordinates each location can have a brief description, and a target URL (link to a page containing detailed info on this location):


The page should be tested on SC previewer app (The image in the web simulator has no clickable areas). 

The page displayed on the device:

Tap on Choose button to choose type of location which will be used as criteria for filtering locations.

You can tap on Pick button to pick a location by using the map or inputing location's name in the search field (...tap on Search):

and use this location as a starting point or use your current location.

Having specified criteria for search, tap on Find button:

the page will filter locations and will output a list of locations complying with your search criteria:

And finally to have the locations displayed on map tap the Show On Map button:

Sample XML:

02    <location>
03        <name>Paris</name>
04        <latitude>2.350987</latitude>
05        <longitude>48.856667</longitude>
06        <target></target>
07        <type>capital city</type>
08        <imageurl></imageurl>
10        <description>France</description>
11    </location>
12    <location>
13        <name>Moskow</name>
14        <latitude>55.755786</latitude>
15        <longitude>37.617633</longitude>
16        <target></target>
17        <type>capital city</type>
18        <imageurl></imageurl>
20        <description>Russia</description>
21    </location>
22    <location>
23        <name>Tokio</name>
24        <latitude>35.689488</latitude>
25        <longitude>139.691706</longitude>
26        <target></target>
27        <type>capital city</type>
28        <imageurl></imageurl>
30        <description>Japan</description>
31    </location>
32    <location>
33        <name>New York</name>
34        <latitude>40.714353</latitude>
35        <longitude>-74.005973</longitude>
36        <target></target>
37        <type>big city</type>
38        <imageurl></imageurl>
40        <description>US</description>
41    </location>
42    <location>
43        <name>Sydney</name>
44        <latitude>-33.868901</latitude>
45        <longitude>151.207091</longitude>
46        <target></target>
47        <type>city</type>
48        <imageurl></imageurl>
50        <description>Australia</description>
51    </location>

Oct 01, 2011 07:22 AM
Thank you Vadim for this tutorial. it was extremely helpful for a newbie like me :0)
Quick question: In the screen shot above (I call it the wheel) where it displays 'Pharmacy' and 'Zoo', is this something that can be modified add other reels, like for cost "$", '$$" and "$$$". Ultimately I'd like to do this for restaurants, allowing people to pick by type of food, price, etc. from what I call the wheel?

Thank you in advance

Oct 04, 2011 04:20 AM
the reel in location finder or calendar pages may resemble the "slot machine" you refer to in http://seattleclouds.com/discussion.aspx?thread=p3ill82xb8bt8z​vol6... but has a different function. Implementing the feature you inquire about involves custom development. 

Jun 09, 2012 10:14 AM
Would I be able to have an excel spreadsheet with prospect data (name, address, etc) that could be populated as pins on a map?  I would want to use the GPS locator as a starting point of "current location", and have the pins populated on the map so that the user could find the nearest record to their current location.  I would update the list monthly, and there would be a few thousand records.

Thanks for any guidance.

Jul 21, 2012 07:04 AM
I'd also liek to know the answer to leah's question

Jul 21, 2012 09:12 AM
I've done this with a list of businesses in specific cities. I tried using Excel, but the database needs to be in XML format (download and open location.xml from your resource file to see what it looks like). I couldn't find a way to export Excel as XML.

Access does have an XML export feature. I simple took my Access database and exported as an XML file. Tweaked the document so it looked like the location.xml file, uploaded to the resources and it worked great.

My database only have 200 entries, but it looks to me like you can have as many as you want. Be sure to check the snyc box in your resource manager so you can update your file as needed.

Jul 24, 2012 08:19 PM
Keith, Can you share the name of the APP you developed to list these business locations?  I'd like to see it in action as this is something I've been wishing to do in my own app.  Let me know!

Jul 24, 2012 08:32 PM
Hi Vadim,

For the <target> page, can we specify a remote URL?

Please advise.

Thank you.


Jul 25, 2012 05:13 AM
Found the answer in forum. I specified the URL within <target>http://../..html>/target>

and it works like a charm.


Aug 02, 2012 06:43 PM
is it possible to select multiple "types" instead of one? for example,

location a has 1. diesel 2. pizza 3. gasoline
location b has 1. pizza 2. gasoline 3. sandwiches

I want to choose all of the locations that have pizza and gasoline. my loc finder would return both location a and b.

From what I can tell you can only select one type with this loc finder.

Aug 24, 2012 04:06 AM
Hi to all,

If you have technical questions, please open a support ticket an we will gladly help you.

Victor Larii,
SeattleClouds Customer Service Support. 

Aug 28, 2012 06:51 PM


I am very new to app dev but I would like to design an app that allows someone to yell "help" or some other word in an emergency situation, and have the app respond in the following ways:

1. Automatically dial an emergency number(s), using VOIP or using the phone's credit

2. Send a pre-configured or user configured text message (or both) to loved ones or to an emergency response number

3. Show the location (street address) of the person's phone current location to the emergency response team(s) so that they can quickly locate the person in need of help

4. Provide an option for the emergency responder to talk back to the person so as to gather further information

5.  The user should be able to configure the above settings the first time they download the app. They should be able to select one or all of the four options to customize the apps' response.

Is that possible, if yes, can you give me some pointers please.  Thanks a million in advance.

Aug 29, 2012 12:35 AM
I would start by taking a course in XCode and Android's SDK. What you want to do is possible with SC but you have to know a fair bit of programming.

Sep 22, 2012 09:08 AM
Does this automatically find your current location and find whatever the search term is for that location?

For example, let's say I'm creating an app that automatically finds the closest bike shop from wherever you happen to be at the moment.  So if someone is on a motorcycle trip and breaks down 100 miles from home, I would want it to find the nearest bike shop to where they are at the moment.


Sep 25, 2012 12:41 PM

I've been trying to find out the SAME thing Amy. I want it to automatically find the nearest tow trucks for our customers based on their current location. And all these pages keep asking for longitudes and latitudes and specifics. So I'd love to know the answer to her question as well. I've asked it several times on the forums and opened support tickets....



Oct 03, 2012 02:27 PM
no one has an answer?

    1 2 3   next