| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
More information is available at http://github.com/mapquery
The current documentation are the examples in the demo directory. Feel free to write something up for this README :)
In order to get the demos work, you need to get all dependencies. Run the getdeps.sh in the lib directory. Take care, that the getdeps.sh have enough permissions that it can run.
If you want to create a new widget for MapQuery, here are some notes:
(function($) {
$.widget("mapQuery.mqLayerControl", {
_create: ...
});
})(jQuery);Name your widget in the constructor mapQuery.mq:
$.widget("mapQuery.mqLayerControl", {...
Use jQuery-tmpl for templating
Use jQuery UI classes for styling
If you need this in an inner function, name the corresponding variable self
Indentation is 4 spaces
For CSS clases use a dash (-) and not an underscore (_) to separate parts
The bundled tiles were generated from the Natural Earth dataset. http://www.naturalearthdata.com/downloads/10m-raster-data/10m-natural-earth-1/
MapQuery is licensed under the MIT License.
| Back | FazBrowse Home | New Git URL |