How do I create a region/zone map for the web? [closed]


Tags: javascript,css,map,sitemap

Problem :

I'm looking to create my own region/zone maps for an internal web application for layouts of buildings and yard layouts. I want the map to essentially be something like this: http://createaclickablemap.com/

enter image description here

However, it doesn't have to be "clickable" or any user interaction at all. I will be colouring each zone and I can't just make a big jpeg image because different regions and zones will change fill colours programatically based on certain criteria.

I have no idea where to begin, how does one create something like this for the web using PHP, CSS and JavaScript or are there any tools out there that do this already?



Solution :

I deal with a lot of maps these days and I would be lost without this:

http://visitmix.com/labs/ai2canvas/

Trace/convert your jpg to a vector image then open it in Illustrator and convert it to javascript using ai2canvas. You may then manipulate the the image with javascript.

If you need to cater for older browsers, it's quite easy to create a flash version too.


    CSS Howto..

    How to modify the link text(html link) properties using css

    How to repeat a menu without using iFrames or PHP in simple HTML/CSS or XML?

    How to make a child div to grow to full screen using CSS?

    How to remove rounded from to select query in jquery?

    How to make hidden div slide down without affecting other elements in same row

    How to magnify images on hover using purely css? [closed]

    Using Bootstrap, how do i achieve this horizontal tab layout? [closed]

    Internet Explorer 10 menu item shows focus outline unexpectedly

    Font-awesome not properly displaying on Firefox / how to vend via CDN?

    How to align
  • to the top when higher items are hidden via CSS
  • How to revert back to a value in css [closed]

    How do I position a div under a fixed position div

    How to change text color for link in tr element with CSS

    How implement google fonts when download the font in collection?

    How to Fix: iOS drops CSS files when javascript changes DOM

    how to style this via css in Bootstrap

    How to make CSS button appear transparent

    How can I add categories-authors-members area for commenting on my website? [closed]

    How to remove style type css wordpress from header?

    How do you prevent expanding outer element when adding padding? [duplicate]

    How to center an attribute is position is absolute?

    how to get by title attribute

    How to make middle div acting like a fixed positioned header when middle div go to the top place by mouse scrolling

    How to implement color through css from dark to light? [closed]

    How to underline list items separately with CSS?

    How to set an auto minimum width on column with css?

    How to rewrite this css for IE

    Slideshow picture disapears

    Textarea doesn't show newline in IE

    How to make CSS sourcemapping work in Chrome with Compass (SASS)