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

[FeatureRequest] Support for AdvancedMarkerElement #270

Open
11 of 17 tasks
avsdev-cw opened this issue Feb 26, 2024 · 2 comments
Open
11 of 17 tasks

[FeatureRequest] Support for AdvancedMarkerElement #270

avsdev-cw opened this issue Feb 26, 2024 · 2 comments
Labels

Comments

@avsdev-cw
Copy link
Contributor

avsdev-cw commented Feb 26, 2024

Feature request to add support for the newer AdvancedMarkerElement which includes much more customisation of markers, including changing the glyph only etc.


  • colours
    • border
    • background
    • glyph
    • handle migration from "red","blue","lavendar","green" to hex
    • scale
  • click-events
  • mouse-over
  • info-window
  • clustering
    • cluster options
  • remove marker
  • remove all markers (in a layer)
  • draggable event listener
  • mouseOver
  • InfoWindow
  • Chart InfoWindow
@dcooley dcooley mentioned this issue Mar 19, 2024
13 tasks
@dcooley
Copy link
Collaborator

dcooley commented Mar 19, 2024

I will be adding this as part of #256

@dcooley dcooley added the 3.0.0 label May 13, 2024
dcooley pushed a commit that referenced this issue Jun 6, 2024
@dcooley
Copy link
Collaborator

dcooley commented Jun 6, 2024

Latest progress is available on the 3.0.0 branch. You can now cusotmise colours:

df <- tram_stops
df$scale <- sample(1:5, size = nrow(df), replace = TRUE)
google_map(
  key = map_key
  , data = df
  ) %>%
 add_markers(
   lat = "stop_lat"
   , lon = "stop_lon"
   , colour = "#0000FF"        ## Blue
   , glyph_colour = "#00FF00"  ## Green
   , border_colour = "#000000" ## Black
   , scale = "scale"
   )

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

No branches or pull requests

2 participants