Skip to content

Commit

Permalink
added area to the property map
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleith committed Dec 15, 2014
1 parent 2061ad8 commit deefc34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion propertyinformation.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
</style>
</head>
<body>
<body>
<div id="map"></div>
</body>
<script>
Expand Down Expand Up @@ -85,6 +85,7 @@
result = data.results[0];
//Popup text should be in html format. Showing the Storm Name with the type
popupText = ""+((result.attributes.PROP_ADD1) ? result.attributes.PROP_ADD1+"<br>" : "")+((result.attributes.PROP_ADD2) ? result.attributes.PROP_ADD2 : "")+
"<br><b>Area: </b>"+result.attributes['Measured Area']+' m'+
"<br><b>Property: </b>"+'<a href="http://www.thelist.tas.gov.au/app/content/property/property-search?propertySearchCriteria.propertyId='+result.attributes['PID']+'" target="_blank">'+result.attributes['PID']+'</a>'+
"<br><b>Title: </b>"+'<a href="http://www.thelist.tas.gov.au/app/content/property/property-search?propertySearchCriteria.volume='+result.attributes['Volume']+'&propertySearchCriteria.folio='+result.attributes['Folio']+'" target="_blank">'+result.attributes['Volume']+"/"+result.attributes['Folio']+'</a>';
if(selection) {map.removeLayer(selection)};
Expand Down

0 comments on commit deefc34

Please sign in to comment.