Skip to content
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

Feature Request: Add TiledWebMap module functionality / Upgrade Highcharter Version #801

Open
AnthonyOKC opened this issue Jul 31, 2023 · 0 comments

Comments

@AnthonyOKC
Copy link

AnthonyOKC commented Jul 31, 2023

Hi Joshua,

I am loving the package so far and its producing wonderful maps for me! Here's an example:

image

In this case though, I thought it beneficial if I could use the new TiledWebMap module from highcharter, so users could see more specific geographic detail for the areas (street numbers, buildings, and the like).

So, I forked the repo and attempted to upgrade highcharter as you had done here. Then, I ran the following code.

# remotes::install_github("AnthonyOKC/highcharter@upgrade-to-highcharts-v11.1.0")
library(highcharter) # This is the version from the forked repo above.

highchart(type = "map") |>
    hc_add_dependency("modules/tiledwebmap.js") |> 
    hc_add_series(
        type = "tiledwebmap",
        provider = list(
            type = "OpenStreetMap",
            theme = "Standard",
            subdomain = "a"
        )
    )

However, I still received a blank page. I can confirm that tiledwebmap.js was in the modules folder and that highcharter.js was using the new version.

This was my best attempt with the little knowledge I have about how you got this great package working. I would greatly appreciate if you had any suggestions as to what I might be missing, or if you had any plans to upgrade to a working v11.1.0 for at least the dev version of the package. It has a lot of other neat features and changes to old charts so it might be worth it. Also, I really don't want to have to use leaflet... 🙏

Thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant