Giter Site home page Giter Site logo

benyamindsmith / mapbliss Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 4.0 1.1 MB

Create Beautiful Maps Of Your Adventures With Leaflet In R.

Home Page: https://benyamindsmith.github.io/mapBliss/

License: GNU General Public License v3.0

R 100.00%
atlasdotco leaflet r rstats-package souvenir-maps

mapbliss's Introduction

๐Ÿ‘‹ Hi there! My name is

Benjamin Smith

Github visitors dev.to badge dev.to badge

Welcome to my Github profile!

I specialize in all things related to data engineering and data science, but I also like to learn other things as well. Alot of my commits are to private repositories so if you see a lacking of green squares that is likely the reason. I share what I learn here, but for a more coherent look check out my website where I share my insights in blog form.

mapbliss's People

Contributors

benyamindsmith avatar cecilesauder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mapbliss's Issues

Frame Idea #4

Need to figure out the Shiny/CSS code to do this:

image

Feature Request: Add titles to maps produced.

This seems like something which would serve as a separate function that can be piped from a map. For example, the code would look like this:

library(mapBliss)

plot_route_flex(...) %>% 
             add_title(title="My roadtrip title",
                            font = "font-choice",
                            font_size = "font- size",
                            title_position=c("top","bottom", "left","right"),
                            title_padding="10px") 

Some links to look into:

  1. https://stackoverflow.com/questions/49072510/r-add-title-to-leaflet-map
  2. https://stackoverflow.com/questions/62404694/set-title-of-leaflet-for-r-web-page?noredirect=1&lq=1

Frame Idea #5

Need to figure out how to write the Shiny/CSS code for this:

image

Accomidate Creation of Star Maps.

plot[_hybrid]_route_flex: label positioning

Hey Ben, great package!

I've noticed the label_position argument doesn't place labels in their designated spots, they all default to "left".
This is happening in both the plot_route_flex & plot_hybrid_route_flex functions.

In the past label positioning did work in these functions, I can't pinpoint exactly what changed on my machine and when positioning stopped working, apologies.

I've attached my OS & R configuration, hope it's helpful (this is my first time raising an issue in the public domain - no idea what i'm doing). Let me know if you need any more info.

os_info.txt
r_info.txt

Cheers,
Oliver

bug (probably from ArcGis side)

Hi,
I have a bug testing your example :/

I'm going to nvestigate on the side of the problems between ArcGis and Ubuntu but if you have an idea to know where this bug comes from...

mapbliss_bug

Well, I don't have any problems with plot_city_view() and with plot_flights(), but running plot_route() I have the same error message.

So I test alone some functions used in plot_route() :

  • geocode(), osrmRoute(), st_geometry(), leaflet() : and they work ...

I isolate the problem and it comes from the for loop :
for(i in 1:(nrow(address_single)-1)){ trip[[i]] <- osrmRoute(src=address_single[i,2:3] %>% c, dst=address_single[i+1,2:3] %>% c, returnclass="sf", overview="full", osrm.profile = how[i] ) }

Frame Idea #3

Need to figure out the Shiny Code/CSS to do this:

image

Frame Idea #2

Need to figure out the Shiny Code/CSS to do this:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.