Add Pharmacy On Duty
Instructions
Use the "Add" buttons to add pharmacy on duty layer on the map. Use "Remove" button to remove the layers.
Edit the source code to .
See the JavaScript API for more information.
Avalabile between 18:00 and 09:00 hours.
Source Code
The Javascript code for the above map is:
<script language="Javascript"
src="http://www.locationbox.com.tr/locationbox/services?
Key=key&Cmd=API&Typ=JS"></script>
<script language="JavaScript">
var mapper = new IMapper();
var layer = new ILayer();
function startup() {
mapper.initMap(41.1, 29.1, 7, IMapper.BASEMAP_POI);
mapper.addNavigationPanel();
return;
}
function add() {
mapper.addPharmacyOnDuty();
return;
}
function remove() {
mapper.removePharmacyOnDuty();
return;
}
Buttons:
<a href="javascript:add()"
><img src="images/add.gif" border=0></a>
<a href="javascript:remove()"
><img src="images/remove.gif" border=0></a>
Download working page
Remember that you need to use your key code as Key attribute.