neveldo / mapael-maps

Vector maps for jQuery Mapael
MIT License
116 stars 139 forks source link

Can anyone assist with a map of the African Continent? #47

Open DevinSmith69 opened 6 years ago

DevinSmith69 commented 6 years ago

I am trying to figure out how to go about creating a new map however I cannot identify where all the elements are from as each map JS file contains different elements, can anyone assist with a map of the African continent?

neveldo commented 6 years ago

Hello @DevinSmith69 ,

Can you provide more details on your issue ? Did you create your Mapael map from an existing SVG file ? What are the JS files that contains different elements taht you are talking about ? Did you take a look at the tutorial (https://www.vincentbroute.fr/mapael/create-map.php) ?

Ikhiloya commented 5 years ago

@neveldo I already curated a js file of countries on the Afican continent but i'm stuck trying to get the correct coordinates. I have read a previous issue where you explained how to go about it but I reall can't understand how the X1 , X2 , Y1 and Y2 values are obtained. e.g:

2 = ax -4.729042 + bx 658 = ax 8.222809 + bx

How did you get 2 and 658?

PS: the above is from https://github.com/neveldo/jQuery-Mapael/issues/11