As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [maps]

A map is a visual representation of an area—a symbolic depiction highlighting relationships between elements of that space such as objects, regions, and themes. For the key-value data structure, use dictionary tag instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How can I determine the direction to get from point p1 to p2 in a 2D array map?

in a given 2 points (p1,p2) and the assumption they are next to each other (can be i the X line or Y line) how can you know the derection that need to be done to get from p1 to p2? so the aswer is ...
ADMATAI's user avatar
-1 votes
0 answers
5 views

What are the available free maps to use with Leaflet for website integration?

I'm looking to add leaflet maps to my real estate website. I only found one that is free, but I believe there were more options the last time I checked. My dev added one map, however it's not the ...
Andres Larin's user avatar
0 votes
0 answers
4 views

Full-screen button plugin in a Python Folium map: Closing full screen only works on second click

I created a map in Folium following the "Fullscreen" example in this notebook. import folium from folium import plugins # Create the map. map_ = folium.Map(location = [45, ...
harry.kuril's user avatar
0 votes
0 answers
6 views

How can I filter and toggle polygons in Folium based on their 'VPN' value and name using groupedlayercontrol plugin?

I'm trying to make a map in Folium of a group of polygons, these polygons have a feature called 'VPN' that can be either positive or negative, I would like to add a filter that turn off and on the ...
Juan Pablo's user avatar
0 votes
0 answers
19 views

How to display ESRI vector tiles service in google maps? [closed]

Is it possible to easily embed ESRI vector tile service (https://developers.arcgis.com/documentation/mapping-apis-and-services/data-hosting/services/vector-tile-service/) as a layer on google maps? I ...
RobertO's user avatar
0 votes
0 answers
5 views

How can I change the time between frames? in a gganimate plot map

I want to do a animate plot where the color of each region of Spain change each month. I am using the transition_manual but there is no posibility of arraging the time between frames. The plot is: ...
Macadamia Brazowy's user avatar
0 votes
0 answers
6 views

House numbers are not visible in map using google apiin javascript

I am using google map api in javascript to embed google map in my application ,but I am not able to see house numbers in USA regions but can see in australia regions.Please guide on the same. changed ...
Preeti Pargond's user avatar
0 votes
0 answers
18 views

How to superpose two shapefiles in R?

I have two shapefiles, one for provinces: library(sf) library(ggplot2) prv_shp <- read_sf("decoupage/Provinces_2015.shp") prv_shp |> ggplot() + geom_sf() + theme_bw() and one for ...
Saïd Maanan's user avatar
0 votes
0 answers
20 views

How can I convert an R dataframe or sf file to shapefile or geopackage to view in ArcGIS?

I have created a map in R using mapview. I am trying to convert it to a shapefile so I can view it on ArcGIS. I don't believe I should be using Raster for the data I am using. What other function ...
Olivia Bergmann's user avatar
0 votes
0 answers
18 views

how can we send location by using react-native-gifted-chat [closed]

Can you please help me how can I send user cuurent location in my app as a chat message please help me out.. I have implemented chat feature but i want to send user current location using this library ...
Utkarsh Ahuja's user avatar
0 votes
0 answers
7 views

Geoserver Custom Map on Traccar (XYZ Map Tiles)

I want to generate map from geoserver to use as map for Traccar. For the map test, for example, OSM has no problems and appears normal as shown below. However, when I create a layer map with the ...
Rezky S's user avatar
  • 23
0 votes
0 answers
8 views

Google Map Zoom to Boundaries

I've tried multiple code examples and other Stack Overflow threads and had no luck. I want to set the map to the boundaries of the locations within the query. I have tried multiple examples with no ...
geekcohen's user avatar
0 votes
1 answer
15 views

How to bold/thicken state border on maps made in R while including county borders?

I am trying to map all 50 US states and their respective counties. But I specifically want to thicken/bold the US state borders while keeping the county borders thin. This is the code I have tried to ...
Melissa Chen's user avatar
1 vote
0 answers
27 views

How to Draw polyline on watchOS

I have to implement a polyline on my watch app but watchOS doesn't have support for it. I have checked the below questions: How to draw a polyline on watchOS WKInterfaceMap? How to draw polyline over ...
Faaiz Daag's user avatar
-2 votes
2 answers
33 views

value not being replaced in map containing function

I am trying to get the value item.path replaced and outputted in console log - code works in chrome dev tools. const cars = [{name: "Saab", type: "car" }, {name: "Volvo", type: "car" }, {name: "...
sam's user avatar
  • 99
-2 votes
0 answers
19 views

Through google maps web link, enable "Show your location" button

I am able to show Google Map on web using the URL: https://www.google.com/maps/@31.4719256,72.4173874 I want to enable the "Show your location" button through URL, without waiting for User ...
M. Usman Khan's user avatar
0 votes
0 answers
19 views

Why won't my Datamaps plugin show up on my Tumblr blog page?

Trying to install datamaps plugin onto Tumblr blog page, map won't show up I'm a beginner to coding, and have been trying to install an interactive political on a page of my tumblr; I have received ...
W. Han's user avatar
  • 1
-3 votes
0 answers
20 views

Integrating Google Maps into Excel with a simple VB code and Button. I get return error code 438 but don't understand the issue. New at VB [closed]

I am attempting to Integrating Google Maps into Excel, followed several YouTube Vids and articles on the matter. The Microsoft web screen is imbedded, the activeX button is created, the VB command is ...
Don Francis's user avatar
0 votes
1 answer
30 views

Is it possible to condense a county-level map of the US, including Alaska and Hawaii, using certain shapefiles?

I am working on a project that requires me to map out all counties for all 50 states of the US. So far I was partially successful in mapping out my data. The issue I am running into is that with my ...
Melissa Chen's user avatar
-1 votes
0 answers
57 views

kmlLayer.getDefaultViewport().contains() doesn't work correctly [closed]

A pin outside of the KML file detecting that its in the KML. I downloaded the KML file from the internet then i thought it might be the issue with the KML so i produced the KML file from the ...
Mubasher Mukhtar's user avatar
0 votes
0 answers
30 views

PTV Vector map text labels not displayed as expected

In my application based in Java on the front end and using WildFly Keycloack on the backend, we are displying a PTV Vector map in one of the application views using the following libraries: ol.js ...
Jordi Segura's user avatar
-2 votes
0 answers
22 views

fetching the total number of restaurants on a map

on google maps/places there are millions of point of interests. I wonder if there is a way to create a desktop applications that works like this: search field for country/city/region/area, etc search ...
djmystica's user avatar
0 votes
0 answers
18 views

Delphi XE8 Maps Marker Generation with transparent areas

I'm currently working on a logistics application. With Delphi XE8 and TMS Maps. Works great, but I have a problem with markers generated in the program. The difficulty I'm having is that the markers ...
hewy's user avatar
  • 26
1 vote
1 answer
51 views

How to dynamically draw a line from point A to point B in Flutter?

So i have a custom map 4x3 And this is what I want to do: when I tap on two different squares, it shows a line (like a polyline) from square 1 to square 2. I haven't found a solution to achieve this ...
Hưng Nguyễn's user avatar
1 vote
2 answers
34 views

Why is there a small part of the distribution map on the right side and how do I fix it using sf package in R?

I am trying to create a distribution map on North America. But a small part of the map is on the right side of the plot. The result is like in the screenshot. Screenshot of the map: I tried it with ...
terzy's user avatar
  • 13
0 votes
0 answers
16 views

Leaflet 'quick start' code snippet giving TypeError: Cannot read properties of null when displaying OpenStreetMap in JavaScript application

getting error when using leaflet a javascript library Uncaught TypeError: Cannot read properties of null (reading 'lat') I am building an application and using openstreet maps with the help of ...
Abhishek Wrma's user avatar
0 votes
0 answers
16 views

Add drop shadow to google map marker android

I am implementing google maps sdk, where simply I wanted to show one icon as marker and icon should have drop shadow in circular shape. I am tried so many things from stackoverflow. Below is function ...
Rujul Gandhi's user avatar
  • 1,690
0 votes
0 answers
49 views

Offline map for a web application

I am trying to create a web application in which you should see a map and click in different spots to do things. The problem right now is that it is an offline application, the clients and the server ...
Alejandro's user avatar
0 votes
0 answers
7 views

Google maps calibration api

We know there is a calibration function in google maps. When you clicked the blue dot on map it will allow you to take photo of surrounding and than calibrates(in new versions it does it via AR). I ...
ahmedsalihh's user avatar
0 votes
0 answers
10 views

Two layers on tmap

I am trying to show two variables in the same map, using tmap. Rather than having two separate maps, I want to show variables in different colors in the same map. kkmap <- tm_shape(dat_map)+ ...
ümit's user avatar
  • 5
0 votes
0 answers
16 views

Animated heatmap of world map

I have been making an animated heatmap of world CO2 data between 1850 and 2021, although I have joined the CO2 data and map data and can make an animation my scales are either wrong or off. I want to ...
Broxy71's user avatar
1 vote
1 answer
31 views

How can I draw a boundary line around multiple states in a US map in R? [duplicate]

The R package {usmap} provides a convenient way to create maps of the United States using {ggplot2}. You can easily draw borders around state boundary lines or even county boundary lines. For example, ...
duckmayr's user avatar
  • 16.2k
-1 votes
1 answer
24 views

Add multiple routes with info window in a single ol map

I am trying to get the multiple routes/directions with markers and line from start to end points. I have tried 2 different methods both using osrm api. In the first one though I am getting the route, ...
Mubashir Rehman's user avatar
0 votes
0 answers
8 views

Is Google Maps locations Page for Wordpress website

Would like a Google Maps page that shows places I have been. Maybe either from history data or places I save. Would also like to list places I would like to visit as saved locations. And ability to ...
John Trimback's user avatar
-1 votes
0 answers
17 views

Here API rate limit

I'm searching on the Here site the rate limits (requests per second) for their APIs, but i'm not able to find them anywhere. Any help? I'm particularly interested in the Routing API. Right now I'm ...
Fabio's user avatar
  • 1
0 votes
0 answers
8 views

Is there a good approach for adding activity switching code via button click to a map activity in Kotlin?

I am playing with the ArcGIS map SDK to write a Kotlin program using Android Studio. I have a demo program with the map code running. When I attempt to add in my activity switching code using button ...
Slushy's user avatar
  • 1
0 votes
0 answers
24 views

france map in R (open street map)

basically im trying to create map of france with dots of citys that i have in my data base so for that ineed latitude et longtitude to create it . i couldn't use API GOOGLE it's not free so i am using ...
mohamed amine zakari's user avatar
0 votes
1 answer
32 views

Creating a global choropleth map for only a selection of countries in r using maps package

I have a data frame with two column, such as the below df as an example, and I want to use maps::map() in order to create a global choropleth map. I want color to be assigned to those countries exist ...
rez's user avatar
  • 284
1 vote
0 answers
30 views

Map takes 12 seconds to load with plotly choropleth

I am using plotly choropleth but the map does not completely show. I use this map and this is the code: import plotly.express as px import json import geopandas as gpd regions = open("./morocco-...
HBHB's user avatar
  • 11
0 votes
0 answers
5 views

How to make markers unlickable when hidden by other objects

I am creating a maps app for my school and I have pop ups and slide ups which cover parts of the screen but the markers behind these screens are not visible but can still be clicked through the object ...
StrawberryAim's user avatar
-2 votes
0 answers
7 views

Issue linking a Billing account in the Google Maps Platform

We are trying to set up an API for Google maps on a website we have developed. WE have a billing account set up, and in fact this links fine to other accounts, however it never links to the new ...
David Williams's user avatar
0 votes
0 answers
9 views

FindAddressCandidates API is given the location of the middle of the building , Is there any way to get gate location?

FindAddressCandidates API is given the location of the middle of the building , Is there any way to get gate location ? https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/...
Kavi's user avatar
  • 13
0 votes
0 answers
14 views

OSRM: How to avoid restricted zones on map (and split road segments)

I am using OSRM. I need the route to avoid a specific zone on the map. As I found out, this can be done using osrm-customize: osrm-customize <my-osrm-file> --segment-speed-file exceptions.csv ...
VUS's user avatar
  • 1
0 votes
1 answer
49 views

How do you use the .addCircleLayer() in the latest Flutter Mapbox_gl version?

I am making a flutter website that fetches realtime location data from my firebase database and project them in my mapbox map. I was able to deal with using .addCircle() to individually add them to ...
lambduh's user avatar
  • 43
0 votes
0 answers
28 views

County-level plot has gap between the States

I am trying to plot the geographical distribution of wheat production using a county-level data set. In order to create the data set, I combined a data set of county-level fips code with unique ...
Homa Taheri's user avatar
-1 votes
0 answers
14 views

Optimal workflow to handle a big geojson and data

We are a small team starting to do some web visualization for a local news organization. Most of us have journalism or design education, very basic technical training. So, we are trying to discover ...
nautilia's user avatar
-1 votes
0 answers
5 views

Adding item to Google Maps

How do I add a security gate to Google Maps? - The gate is closed to access for certain times of the day, and often catches traffic out, delivery companies especially. So if I could add such a feature,...
mogzie's user avatar
  • 1
0 votes
0 answers
9 views

Drill down Map of Michigan-Counties-Cities

am a website user and am trying to find an interactive map of the State of Michigan that drills down to counties and then to cities with option to put details/information on hover. Where can I get ...
Mahdi's user avatar
  • 1
0 votes
1 answer
23 views

Adding a ShpFile tilts the map

I'm using OpenLayer with react. I'm display a map as a baselayer and then I'm adding a GeoTiff on top of it. After that the user can also add a shape file (zip) as another layer and it is working ...
Zullu Balti's user avatar
0 votes
0 answers
31 views

How can I resample polygons in postgis to a lower resolution?

I have a table in Postgres (with Postgis) that looks like this: geom val POLYGON(...coordinates) 80 POLYGON(...coordinates) 72 Each one of these polygons represents a 30m diamond square on the map....
metal bar's user avatar
  • 492

1
2 3 4 5
188