Comments (3)
Currently, the map is automatically resized to the size of its container. So reduce the width of the container will reduce the width of the map (the height of the map is relative to the width). If you want to set a custom width, you can use the map.width parameter.
If you want to resize path coordinates of your map, you should edit the SVG file with an editor like Inkscape.
from jquery-mapael.
Thanks @neveldo set.width seems to work,
I stll look forward for options like transform : rotate ..etc
from jquery-mapael.
You can apply transformations on each areas through the attrs.transform option. See raphael documentation for more infos about transformations : http://raphaeljs.com/reference.html#Element.attr , http://raphaeljs.com/reference.html#Element.transform .
IF you want to apply a global transformation on your map, you will have to open your SVG file with Inkscape and do the work before.
from jquery-mapael.
Related Issues (20)
- How to get zoom level when you click zoom buttons or mousewheel
- GetCoords function not working properly, what I'm doing wrong?
- How does Event afterZoom works?
- multiple_legends_plotted_cities.html with just one state (Maine)
- Map of a Mexico state divided in munipies
- change the map into dotted map.
- Resize the Map by Inkscape
- How to change color of all areas in a row in jquery HOT 1
- getCoord HOT 2
- attrs text-anchor HOT 2
- Allow click in tooltip content HOT 3
- GetCoords and Mercator Projection ? HOT 2
- dynamic value for areas
- Mouseover issues
- Overflow in horizontal legends
- zoom in mousewheele
- mobile hover problem
- Hongkong and Singapore is not shown in world map.
- French Guiana !== France
- My Map is Coming upside down
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-mapael.