dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20349
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9247: FRED-API: minor map changes, default to ROADMAP
------------------------------------------------------------
revno: 9247
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2012-12-09 22:17:54 +0300
message:
FRED-API: minor map changes, default to ROADMAP
modified:
dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facilities.vm
dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facility.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facilities.vm'
--- dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facilities.vm 2012-12-09 13:36:18 +0000
+++ dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facilities.vm 2012-12-09 19:17:54 +0000
@@ -68,7 +68,11 @@
var options = {
zoom: 8,
center: latlng,
- mapTypeId: google.maps.MapTypeId.HYBRID
+ disableDefaultUI: true,
+ mapTypeControl: true,
+ panControl: true,
+ zoomControl: true,
+ mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('mapTarget'), options);
=== modified file 'dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facility.vm'
--- dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facility.vm 2012-12-09 13:36:18 +0000
+++ dhis-2/dhis-web/dhis-web-api-fred/src/main/webapp/WEB-INF/api-fred-velocity/v1/facility.vm 2012-12-09 19:17:54 +0000
@@ -13,7 +13,11 @@
var options = {
zoom: 12,
center: latlng,
- mapTypeId: google.maps.MapTypeId.HYBRID
+ disableDefaultUI: true,
+ mapTypeControl: true,
+ panControl: true,
+ zoomControl: true,
+ mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById('mapTarget'), options);