Git Product home page Git Product logo

jywarren / cartagen Goto Github PK

View Code? Open in Web Editor NEW
253.0 253.0 27.0 26.49 MB

Cartagen is a vector-based, client-side framework for rendering maps in native HTML 5. Maps are styled in GSS, a cascading stylesheet specification for geospatial information – a decision which leverages literacy in CSS to make map styling more accessible.

Home Page: https://jywarren.github.io/cartagen/

License: MIT License

Ruby 0.12% JavaScript 24.75% CSS 1.83% Java 0.01% PHP 0.06% Python 0.01% HTML 73.12% Smarty 0.09% ASP.NET 0.01% Visual Basic .NET 0.01% Hack 0.01%

cartagen's People

Contributors

benweissmann avatar jywarren avatar reidab avatar xinliu8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartagen's Issues

don't use $C.clear() if not necessary

check for Config.resizable

(we'll have to make one of those)

resizing the canvas auto-clears the screen; let's not do this twice.

see revision in LOOM.

Re-add feature quota

It was removed in r260 to make feature not disappear. The code needs to be
more robust and better tested.

Cascade downward to longer geohashes based on device performance

Start at geohash length x, pretty short, say, 5 characters:

- if object count is below quota for this class of device, fetch lower tiles
    - also take into account power of client computer - base on screen size?
- this mitigates the density issue a bit

quota = n*device_power

Begin displaying Nodes that have tags

Check if nodes which are members of ways may have tags. If so, aggregate those tags to parent
ways. Save independent nodes and display them with appropriate icon (this is dealt with in GSS) or
label. Check how many there are.

Dashed lines (ask tels)

Temap has used a library for dashed canvas lines. Perhaps we can add this to our Canvas class.

Handle iPhone rotation

Adjust UI and canvas size when a mobile device like the iPhone rotates.
Some old code from Events.js:

//if (Prototype.Browser.MobileSafari) {
// addEventListener("load", function() { setTimeout(updateLayout,
0) }, false)
// var currentWidth = 0;
// function updateLayout() {
// if (window.innerWidth != currentWidth) {
// currentWidth = window.innerWidth;
// var orient = currentWidth == 320 ? "profile" :
"landscape";
// document.body.setAttribute("orient", orient);
// setTimeout(function() {
// window.scrollTo(0, 1);
// }, 100);
// }
// }
// setInterval(updateLayout, 400);
//}

Embedded cartagen

Make Cartagen play nicely with pages when embedded, possibly allowing for
multiple maps in one page

Make sure Cartagen doesn't eat events meant for other page components

patterns are moving when you zoom

patterns are moving... can we center them, or fix their scale??? what's the deal?

also background/body pattern doesn't move when you pan.

Better error reporting when geocoding fails

Right now, it just breaks if you try to use the find controller to find a
location it can't geocode. We should have a more helpful error message, and
we should use AJAX to validate to location before the form is submitted.

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.