Questions tagged [geomap]

114 questions
1
vote
0 answers

How to pass user input and custom function creation in amchart script?

I am using am4chart script to plot map and want to use user given geo-coordinate points. I am taking inputs like: Latitude:
Longitude:
1
vote
0 answers

JavaScript on python to calculate s2 cell from given lat lon for 3 million records

I'm after calculating s2 cell from given Lat and Lon, I am new to python and JavaScript, fiddle around the net and found Javascript code on URL https://npm.runkit.com/s2-geometry. I have a csv file with two fields: lat and lot with 3 million records…
Pankaj
  • 11
  • 2
1
vote
0 answers

Leaflet - Custom clustering in a plot for R Shiny

Within R Shiny, I have the following code which plots a load of landmarks within the UK in clusters: Server server <- function(input,output){ output$mapengland2 <- renderLeaflet({ leaflet(options = leafletOptions(minZoom = 6, maxZoom = 14)) %>% …
1
vote
2 answers

GoogleChart Maps [visualization] error while joining/displaying 2 datasets

My Dataset 1 is like this- var data1 = new google.visualization.DataTable(); data1.addColumn('string','Country'); data1.addColumn('string','Data1'); for(var j=0;j
manishk
  • 526
  • 8
  • 26
1
vote
2 answers

Google Visualization API Geomap: How to handle marker click events?

I initially have the Google Visualization API Geomap on a world view (options['dataMode'] = 'regions') and I capture the 'regionClick' event when a country is clicked like so: google.visualization.events.addListener( geomap, 'regionClick',…
Carlos da Costa
  • 136
  • 1
  • 6
1
vote
0 answers

Multiple Spots in one location with SAPUI5 Geomap

I have a GeoMap control initiated and have something like 12,000 Spots displayed. I sometimes have multiple spots that are on the exact same coordinate, but have no differentiation to show me that I have more than one Spot in this location. I know…
1
vote
0 answers

Get new size of Gridster widget after resize using directive

I'm trying to add google geomap to gridster item using directive, but when resizing i'm unable to get new width and height of the gridster. And also losing height and width when reloading page. I'm getting correct width and height when loaded for…
Abhilash Aruva
  • 308
  • 3
  • 10
1
vote
0 answers

Using d3.geomap to display a choropleth map with custom colours

I am trying to modify the code from this example (https://d3-geomap.github.io/map/choropleth/custom-domain/) so that it can handle a larger range of data than just 1/0 values. Basically, I have a CSV file in which I have attached values from 1 to 13…
Sibonay
  • 11
  • 1
1
vote
0 answers

Choropleth map of the world in d3.js is not working

I am using the Choropleth Map of the world (d3.js) to display the population of various countries. I tried this tutorial: https://d3-geomap.github.io/map/choropleth/world/ The CSV file is downloaded from…
User456898
  • 5,704
  • 5
  • 21
  • 37
1
vote
0 answers

Change default marker in Google GeoMap

I use Google Charts API, not Maps. I have this function. I want to make marker animated, so I want to change the default circle to gif image. How should I do it? Is it possible? google.charts.load('current', { callback: function () { var…
whoiskatrin
  • 73
  • 2
  • 12
1
vote
1 answer

Polymer 1.x: Geomap Reentrancy

I want to get this geomap to behave properly. States start disappearing after the user presses the Select All button. What is the fix? To recreate the problem, follow these steps: Open this jsBin. Click the Select All button. Hover your mouse over…
1
vote
1 answer

Fetching data from spreadsheet in script: "Data table is not defined"

I’m trying to make a script using the Google Visualization App Geomap. In the example code on the Google Developers page, they are using a hard coded table. What I want to do, is to make code use data from a Google Spreadsheet connected to a Google…
1
vote
0 answers

Is it possible to create a choropleth map solely from a set of long/lat coordinates?

I'd like to visualize a number of points on a map. Unfortunately, there is no consistent address associated with each one. I've used Google Fusion tables to get a rough read on where the points are, and am relatively satisfied with the approximate…
scrollex
  • 2,575
  • 7
  • 24
  • 38
1
vote
1 answer

d3.geomap Not Working

I have been trying to get the documentation from http://d3-geomap.github.io/ to work but somehow it's not i can't find my mistake. Here is my Code:
Eych
  • 313
  • 1
  • 5
  • 14
1
vote
1 answer

Google charts - Geochart: how can I highlight a marker from an external element?

I have a Google Geochart with this bunch of options: options = { displayMode: 'markers', sizeAxis: { minSize: 5, maxSize: 5, minValue: 5, maxValue: 5 }, colorAxis: { colors: ['#ac2925'] }, defaultColor: '#ac2925', markerOpacity:…
rvandoni
  • 3,297
  • 4
  • 32
  • 46