<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Apple iPhone 6</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>375</PageWidth>
	<PageHeight>667</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>True</EmptyBuildFolder>
	<AppIcon>C:\Users\rocco\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>OfflineCopyOfPages</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>watchPos</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="watchPos">
					<Code>beginjs
if (navigator.geolocation) {
	//navigator.geolocation.getCurrentPosition(mostraPosizione);
    navigator.geolocation.watchPosition(mostraPosizione);
}

function  mostraPosizione(posizione) {
	console.log(&quot;Latitudine: &quot; + posizione.coords.latitude);
	console.log(&quot;Longitudine: &quot; + posizione.coords.longitude);
    //$App.pos = &quot;Latitudine: &quot; + posizione.coords.latitude + &quot; Longitudine: &quot; + posizione.coords.longitude;
    $App.latitud = posizione.coords.latitude;
    $App.longitud = posizione.coords.longitude;
}
endjs
</Code>
				</Function>
				<Function name="addPoint">
					<Code>.jsalert &quot;ok&quot;
neoMapAddMarker &quot;Container1&quot; &quot;[pos]+1&quot; &quot;orange&quot; [latitud] [longitud] false &quot;&quot;
</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<pageenter>setvar [pos] 0

Wait 2000
  neoMapInitialize &quot;Container1&quot; [latitud] [longitud] 18 18 &quot;Open Street Maps&quot;
  neoMapAddMarker &quot;Container1&quot; &quot;[pos]&quot; &quot;orange&quot; [latitud] [longitud] false &quot;&quot;
endwait

Watch [latitud] &quot;addPoint&quot;
Watch [longitud] &quot;addPoint&quot;</pageenter>
					<Components>
						<Container id="Container1">
							<left>2px</left>
							<top>56px</top>
							<width>371px</width>
							<height>607px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
						</Container>
						<Paragraph id="Paragraph1">
							<left>2px</left>
							<top>2px</top>
							<width>152px</width>
							<height>22px</height>
							<text>[latitud]</text>
						</Paragraph>
						<Paragraph id="Paragraph2">
							<left>206px</left>
							<top>1px</top>
							<width>166px</width>
							<height>22px</height>
							<text>[longitud]</text>
						</Paragraph>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>375px</width>
							<height>667px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
