maps Questions
3
Django newbie here: my aim is to integrate Folium to an html page. so what I have at the moment:
polls/views.py
def show_map(request):
#creation of map comes here + business logic
m = folium.M...
1
I need to add markers on the map for the data that I have.
Out of the thought process, I went through map.data.loadGeoJson('google.json'); with which I will be able to have custom data attached t...
Curia asked 20/1, 2017 at 13:30
1
Solved
I read many documentations related to this, but can't find something what I am looking for.
I want to plot walking paths between two points. Is it possible? if not, is there any other library in p...
Pleasing asked 7/3, 2020 at 14:14
1
I am able to generate a world choropleth map with tooltips on mouseover and click selection to grey out unselected countries. I would like to be able to click on a country and have the map pan and ...
7
Solved
I have a table-driven test case like this one:
func CountWords(s string) map[string]int
func TestCountWords(t *testing.T) {
var tests = []struct {
input string
want map[string]int
}{
{"foo",...
Cirrhosis asked 13/8, 2013 at 11:52
2
I'm trying to replicate using ggplot2, an earlier question i had using leaflet. I'm trying to merge two palettes where one is used if my variable is below a certain threshold and another if above a...
1
Solved
I'm trying to merge two colorRampPalette schemes to use in leaflet and have been following this nice example. That example works fine but I can't seem to get it to work for my work, reproducible ex...
Archon asked 20/2, 2020 at 13:50
1
Solved
I am looking into drawing three different markers on a folium map: square, circle and star.
The first two are done using BeautifyIcon plugins. I am having trouble to plot the star.
I would like to...
Perretta asked 8/2, 2020 at 21:25
1
Solved
Creating custom Icon in Google Map in flutter shows error.
My pubspec.yaml file
assets:
- assets/truck.png
My Code is:
void getCustomIcon() async {
customIcon = await BitmapDescriptor.fromAs...
Stature asked 7/2, 2020 at 10:36
1
Solved
I would like to plot a shape file loaded using read.shp from the fastshp package. However, the read.shp function returns a list of list and not a data.frame. I'm unsure which part of the list I nee...
3
Solved
I'm developing an application using Gmap in c# (great API, btw), not to confuse with google-map API, and I did some really cool and useful stuff ever since.
My problem is that some of my clients w...
1
Solved
I'm trying to create a chloropleth map of the US that uses a categorical variable for the state color, but I only get a blank map. Do plotly maps have compatibility with categorical data? If so, ho...
Cataract asked 29/12, 2019 at 0:35
4
Solved
i am using Maps API to create a simple android app and i get a wierd error i can't solve. It usually happens when i rotate my device. I'm using google services 8.4.0
4-23 15:39:47.503 9419-9419/co...
2
Solved
I tried this, it doesn't work, where am I going wrong?
application.properties (works fine)
document-contact={name:'joe',email:'[email protected]'}
application.yml (doesn't work; stacktrace...
Thayne asked 6/12, 2019 at 9:26
15
Solved
I'm trying to figure out the best way to determine whether I'm in the last iteration of a loop over a map in order to do something like the following:
for (iter = someMap.begin(); iter != someMap....
8
Solved
Say I have two maps:
val a = Map(1 -> "one", 2 -> "two", 3 -> "three")
val b = Map(1 -> "un", 2 -> "deux", 3 -> "trois")
I want to merge these maps by key, applying some functi...
Camphene asked 13/10, 2011 at 13:55
1
Solved
I'm trying to reduce the size of the marker on my map, as it is too big.
The problem is that using style = {} does not seem to work in this case.
What am I missing here?
<MapView.Marker
c...
Pulpit asked 22/11, 2019 at 22:19
1
Solved
I have an image 8640x11520 pixels from a part of the map in real scale. I need convert my x, y point to coordinate, anyone has an idea to find out it??
var mapWidth = 8640;
var mapHeight = 11520...
Backslide asked 20/11, 2019 at 12:41
3
Solved
Is there a way to limit panning out of the world's edge? On this picture, brown is the world, grey is emptiness. I want to make it impossible to pan like this.
Desexualize asked 3/3, 2014 at 19:1
2
Solved
Is it possible to have intermediate (2.5, 3.5, 4.5, etc.) zoom levels on a Leaflet map that is using Stamen Toner-lite tiles? This is the code I have so far that calculates the zoom level:
leaflet...
Apish asked 26/1, 2015 at 20:10
3
Solved
I have put together a cities database from MaxMind and it includes the lat/lng values for each city in the database. I have also put together a map of North/America and I would like to have a icon ...
Stocking asked 17/1, 2012 at 16:25
2
Solved
I have UTM coordinates, EPSG: 25833.
Looking at the Mapbox documentation it says
Mapbox supports the popular Web Mercator projection, and does not support any other projections. Web Mercator is a ...
Deadwood asked 6/8, 2019 at 12:51
2
Solved
I am trying out geofencing with leaflet and I have a marker that can be moved and a circle on a map.
Here is the full code:
<!DOCTYPE html>
<html lang="en" >
<head>
<meta ch...
Mimosaceous asked 6/8, 2019 at 22:34
2
Solved
Is it possible to get the country name by giving the postal code of the user?
I looked at the Core Location Framework, but it doesn't look to work the other way around by given the Postal Code an...
Awestricken asked 1/11, 2015 at 7:0
4
Solved
Ok so basically I am talking with someone about building a way for users to post locations to a map and have a pin over the location.
I know Google Maps can do this and probably has the best docum...
Ave asked 20/5, 2009 at 1:8
© 2022 - 2024 — McMap. All rights reserved.