MapJs

A simple way to work with Maps.

What's MapJs?

The MapJs is a JavaScript project to create maps or use Geolocation API using only HTML. To use is simple, just add the project source and done! (not need anything, neither less Jquery).

This plugin is in beta phase, what does this mean it? MapJs is recomendable use for test only. Not production.

Some features will be added soon. For while mapJs is unstable.

How to use?

It's very simple to use MapJs, follow this steps and be happy:

1 • Add the source on tag body end

<script src="mapjs.min.js"></script>
</body>

2 • Just add mapJs tag in anywhere

<mapjs width="800px" height="300px"/>


Attributes

• Width (default: 500px) = Element width

<mapjs width="650px"/>


• Height (default: 300px) = Element height

<mapjs height="380px"/>


• Latitude = Latitude map

<mapjs latitude="-22.91359189967915"/>


• Longitude = Longitude map

<mapjs longitude="-43.17864779052729"/>


• Type (default: Satellite) = MapType

<mapjs type="roadmap"/>

Type possibilities: satellite, roadmap, hybrid, terrain


• Zoom (default: 15) = Map zoom

<mapjs zoom="18"/>


Download mapJs

Vr 0.1 (unstable)