An open API service indexing awesome lists of open source software.

https://github.com/holyshared/mmap

Map using Google Maps Api Version 3. A comprehensible map can be displayed by using the custom marker.
https://github.com/holyshared/mmap

Last synced: about 1 year ago
JSON representation

Map using Google Maps Api Version 3. A comprehensible map can be displayed by using the custom marker.

Awesome Lists containing this project

README

          

MMap
====================================

![Screenshot](http://holyshared.github.com/MMap/logo.png)

Map using Google Maps Api Version 3. A comprehensible map can be displayed by using the custom marker.

How to use
------------------------------------

### MMap

#### Step1 Reading of library.

Mootools and MMap are added in the head element and read.

#HTML


#### Step2 HTML description of main.

HTML to use MMap becomes as follows.

#HTML

#### Step3 Description of javascript.

#JS
(function($){

window.addEvent("domready", function(){

var map = new google.maps.Map($('map'), {
zoom: 15,
center: new google.maps.LatLng(35.6666870, 139.731859),
mapTypeId: google.maps.MapTypeId.ROADMAP
});

var marker = new MMap.Marker.HTML({
map: map,
className: 'marker markerDefault',
title: 'Marker who contains simple contents',
content: 'HTML contents can be inserted.
'
+ 'It is usual to put sentences and photographs of several lines.',
position: new google.maps.LatLng(35.6666870, 139.731859),
visible: true
});

});

}(document.id));

### Online Document

* [English document](http://holyshared.github.com/MMap/docs/html/en/mmap.overlayview.html)
* [Japanese document](http://holyshared.github.com/MMap/docs/html/ja/mmap.overlayview.html)

### Online Demonstration

* [English demo](http://holyshared.github.com/MMap/marker.html)
* [Japanese demo](http://holyshared.github.com/MMap/ja/marker.html)