#set ($view = "asset/geolocation")
#set ($id = $context.getRequestParameter("id"))
#if( !$catalogid )
#set( $catalogid = $mediaarchive.getCatalogId() )
#end
#if(!$searcher)
#set ( $searchtype = $context.getRequestParameter("searchtype") )
#if( $searchtype )
#set ( $searcher = $searcherManager.getSearcher($catalogid, $searchtype ) )
#else
#set ( $searcher = $mediaarchive.assetSearcher )
#end
#end
#set( $catalogid = $searcher.getCatalogId() )
#set( $searchtype= $searcher.getSearchType() )
#if(!$data)
#if( $asset )
#set( $data = $asset )
#else
#set ($data = $searcher.searchById($id))
#end
$context.putPageValue("data", $data)
#end
$context.putPageValue("searcher", $searcher)
#set ( $openview = $context.getRequestParameter("openview") )
#set ( $edit = $context.getRequestParameter("edit") )
#if($errors)
[[Your entry is invalid. Please check your values and try again]].
#set($edit = "true")
#else
#end
#if( $content.isPropertyTrue("showinfo") )
[[Search for a location, drag the icon to the correct place and click the save button. Double left-click to zoom in, double right-click to zoom out]].
#end