Giter VIP home page Giter VIP logo

us-map's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

us-map's Issues

Code update to support DaddyMacCadillac's changes and enhance state labels?

Cap'n, thank you for your contributions to this project. I really appreciate the work you and DaddyMacCadillac's contributions. Right now, I'm using DMC's version of US Map, however, you seem to be far more active (and definitely accessible) than DMC is, so you get the "lucky honor" of my request. I really like the tooltip feature that you've got.

Can you do a merge of features between your version and KevinColbert3@db16541#diff-90ecb4d62200685c1393e1ddf9e96373?

Second request: State Labels (DMC version)

With the project that I'm working on (Property Auction site), we currently use a simple text only with state (or province names (for Canada). In an effort to make the site more appealing to not only auction staff, but sellers, we'd like to give it a visual facelift.

What I would love to see is the ability to add numbers and/or text to the state labels and tool tips.

<script> $(document).ready(function() { $('#map').usmap({ 'stateSpecificLabelText': { 'FL' : 'FL (1)', 'MT' : 'MT (21)', 'OR' : 'OR (2)' }, 'stateSpecificToolTip': { 'FL' : 'Florida (1 Contact)', 'MT' : 'Montana (21 Contacts)', 'OR' : 'Oregon (2 Contacts)' }, }); }); </script>
(I removed all the extra configs, for now) Any assistance you can provide with this would be incredibly awesome. Thank you, Sir!

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.