Questions tagged [mapael]

jQuery Mapael is a jQuery plugin that allows you to display dynamic vector maps

jQuery Mapael is a jQuery plugin, based on raphael.js, that allows you to display dynamic vector maps.


Resources :


Related tags :

31 questions
3
votes
1 answer

mapael map class doesn't exists

The base library is an angular js. I am trying to draw a map using mapael.js However, it is not created with errors. library version : jquery 1.11.3, angular 1.5, jquery.mapael 2.0.0 error message: The map class map doesn't exists html
2
votes
1 answer

Chaining jQuery events together with Raphael/Mapael

I'm using a Mapael, a Raphael plug in to create an interactive map. I'm looking to colour one area of the map when clicked, and then when the area is clicked again revert it back to the default colour. Here is a…
alexc
  • 1,250
  • 2
  • 17
  • 44
2
votes
2 answers

Zoom into viewbox svg - Mapael

So I have a simple map divided into different states and everytime I click one state I want it to zoom in into that region, so it fills the screen. I'm using Mapael with the zoom enabled, but when I specify a region, see the code below, it does zoom…
user1765661
  • 585
  • 1
  • 7
  • 21
1
vote
0 answers

Mapael Map How to create dynamic json using jquery

How to create dynamic json using $.each The json i need : plots: { 'ny': { latitude: 40.717079, longitude: -74.00116, tooltip: {content: "New York"}, …
Dev65
  • 67
  • 9
1
vote
0 answers

count of visible Plots

Hi have very simple requirement. I successfully hide all the plots but after that i want to show one particular plot - i know the id of that plot too ( i know we can do by cssClass but it will enable all in that class which i dont want) …
1
vote
0 answers

JQuery Mapael showing ToolTip in wrong position

I am making a interactive map using JQuery Mapaeal in an Angular 5 pr, and i'm in the process of adding tooltip to each region of the map but this is happening while i put my mouse over the region In this image i have the mouse over the bottom left…
coder Tester
  • 145
  • 10
1
vote
1 answer

How to align tooltips next to plots on rafael/mapael map

I am trying to align tooltips on a rafael/mapael map. Currently they default to the lower left side of the map but hoping they would show near the plot that is being hovered. I created a jsbin here. http://jsbin.com/pogaqecuwa/edit?html,js,output I…
Chris
  • 486
  • 3
  • 8
  • 22
1
vote
1 answer

Map of France with Regions and departments - MAPEL - by NEVELDO

I want to use the script of Neveldo for Mapael in order to insert the regions in the map of France as well as the departments. I can not nest the codes for the different JS files in each region provided in a single file by Neveldo:…
Rak Arthus
  • 17
  • 6
1
vote
0 answers

Mapael update trigger

So essentially I am working with a large dataset and don't want to have to define every area for every year. But when I update to the next year it only appends the data to the map leaving the rest there to be shown in the legend. I tried using…
Tim Herbert
  • 120
  • 10
1
vote
0 answers

Need to render a jquery mapael map in a portal that is using Angular js

Needed to render a mapael map to plot points(based on city lat,longs)in a portal that is using Angularjs. This is working fine if angular-route library is not used. But as soon as the routes are configured, the map is not rendered. It throws no…
1
vote
2 answers

global variable is not set in jquery

$(function(){ var bwr_w = null; //global variable //below function gets the dynamic data function myfunc() { var val = '2011' $.ajax({ type: "POST", url: "allmaps.php", data: "year="+val…
1
vote
2 answers

Raphael/Mapael - plots and areas controlled by a single legend

I've been working on few custom SVG maps based on Raphael.js but Mapael is the library that I'm working with. I have setup a jsfiddle of the example to be better explain my. http://jsfiddle.net/arnabsaha/3jNE9/ As you can see, I have mapped the…
Arnab Saha
  • 511
  • 6
  • 15
0
votes
0 answers

MAPAEL :plotting cities

I am using MAPAEL to plot cities onto an SVG map. I understand the point of plotting 4 different points to 'transform' lat/long coordinates of a given city into x/y coordinates into the SVG, as explained by the plugin's author: here I am however…
0
votes
0 answers

How to manage text on Mapael map when hover?

I have a real mystery to solve. So I have a Mapel map rendered and 3 tspans inside text on this area: [third text is smaller and kindof above second text next to it and looks lovely] Aaaaaand when I hover on area: [third text falls back to its…
0
votes
2 answers

How do I update the background color of specific countries within a Mapel SVG Map?

I was able to successfully implement the Mapael map into my HTML page, and was able to configure the hover fill color to my liking via the JavaScript code. I'm trying to change the fill color of specific individual countries. I've worked briefly…
marqeeux
  • 3
  • 2
1
2 3