-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mapbubble creation with highcharter? #209
Comments
Hi @christopheLouat , Can you post 2 things? 1) What have you done/code? 2) Similar demo example from http://www.highcharts.com/maps/demo Thanks |
Hi @jbkunst 1)I have a dataset like this (dataTable)
I have test the following code: parksgjs <- geojson_json(dataTable, lat = "latitude", lon = "longitude") highchart(type = "map") %>%
hc_mapNavigation(enabled = TRUE, i have test with the geojson transformation of the data and without but i don't have the expected result. Thanks |
I'm working on this. I think I'll need to add some |
Hi @christopheLouat !!!! Uff, so much time but I worked on Try the following in the development version: cities <- data_frame(
name = c("London", "Birmingham", "Glasgow", "Liverpool"),
lat = c(51.507222, 52.483056, 55.858, 53.4),
lon = c(-0.1275, -1.893611, -4.259, -3),
z = c(1, 2, 3, 2)
)
hcmap("countries/gb/gb-all", showInLegend = FALSE) %>%
hc_add_series(data = cities, type = "mapbubble", name = "Cities", maxSize = '10%') %>%
hc_mapNavigation(enabled = TRUE) # Zoom hcmap("custom/world", showInLegend = FALSE) %>%
hc_add_series(data = cities, type = "mappoint", name = "Cities", maxSize = '1%') %>%
hc_mapNavigation(enabled = TRUE) # Zoom |
Hi Joshua! thanks a lot for the corrections on the hcmap function. The bubble map is great!!! |
Is it possible to create map with mapbubble series with highcharter? I have tried with a lot of dataset and I don't succed to create a chart. I can generate date for mappoints series but they don't work for mapbubble series. Can you tell me how to represent data?
The text was updated successfully, but these errors were encountered: