dmolsen / MIT-Mobile-Web

The Mobile Web Project was initially developed during the summer of 2009 and is a fork of the original v0.9 release of the MIT Mobile Web project that can still be found on SourceForge. The project was updated in May 2010. It is a product designed to make it easier for higher education institutions to deliver mobile-optimized information and services. It helps deliver task-based content like maps, events, and directory information optimized for device "families." Full documentation can be found at http://mobilewebosp.pbworks.com/ Updates to the project can be found on Twitter at http://twitter.com/mobilewebosp/
http://mobilewebosp.pbworks.com
MIT License
57 stars 19 forks source link

Add mobile=true per Google Maps API docs #7

Closed dmolsen closed 14 years ago

dmolsen commented 14 years ago

In map/lib/map.lib.inc.php need to add &mobile=true to detailURL per google maps api documentation.

so it'll look like:

return "detail.php?loc=".$id."&lat=".$latitude."&long=".$longitude."&maptype=roadmap&mobile=true";

dmolsen commented 14 years ago

This variable actually is not required according to the google docs i looked at. It is available for static maps though. Added the info to data.copy.inc.php so that users can take advantage of it in the future. Also modified the detail.php file.