Giter VIP home page Giter VIP logo

mapquery's Introduction

MapQuery

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.

Known issues

Demos don't work

  1. Have you got the dependencies (see above)
  2. If you use Chrome/Chromium, you either need to run it behind a web server (so that the URLs are http:// and not file://) or start it with the -allow-file-access-from-files flag. See http://code.google.com/p/chromium/issues/detail?id=40787 for more information.

Development Guidlines

If you want to create a new widget for MapQuery, here are some notes:

  • Don't indent after the (function($) { })(jQuery) closure:
(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

Data

The bundled tiles were generated from the Natural Earth dataset. http://www.naturalearthdata.com/downloads/10m-raster-data/10m-natural-earth-1/

License

MapQuery is licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.