maps Questions

12

Solved

I am building a map application using Angular Maps and want to import a JSON file as a list of markers defining locations. I'm hoping to use this JSON file as marker[] array inside the app.componen...
Passage asked 28/10, 2017 at 15:15

6

Solved

I have a use case where if a number lies between 0-10 it should return 0 and if it lies between 11-20 it should return 1 etc 0 => 0-3, (0 and 3 are inclusive) 1 => 4-15, (4 and 15 are inclu...
Antinomy asked 21/8, 2009 at 23:37

1

I have a map that loads building footprints from GeoJSON. My map also uses Street View. Like all Google Maps, Street View is accessed via Pegman. When you click and drag Pegman, the geometries on m...
Broeder asked 23/11, 2020 at 18:35

7

Solved

I am trying to convert the code snippet given in this http://www.movable-type.co.uk/scripts/latlong.html into java. But I am not getting same result as that of site. Here is my code to find the mid...
Couple asked 11/1, 2011 at 10:50

4

Solved

I try to display data on a real map (data should be within Ontario, Canada): I have .csv file with two columns, A and B, A is a postal code, B is its associated value (integer, 1 to 5), I want to f...
Diocese asked 21/9, 2019 at 20:47

10

Solved

I am trying to get one of my apps back up and running with the Google Maps API v2 for the first time. I created a key for my app in my keystore, extracted the SHA1 hash, acquired an API key, then d...
Forwardlooking asked 5/12, 2012 at 15:7

2

Solved

I want to use custom markers using Here Maps with JavaScript, but I tried the documentation and unfortunately I don't understand how to set a custom marker with a custom icon. In this sample bello...
Bartle asked 14/7, 2018 at 16:30

2

I'm quite new to JS, so maybe my problem will be easy to solve, though I already spent many hours on it. I'm using Mapbox with the leaflet api, and I would like to disable the repeating of horizon...
Nebulosity asked 24/2, 2014 at 10:29

3

I'd like to change the style of my leaflet map. I'd like to make it look more like google maps default theme. Are there different css files that be referenced to style the map differently? Is there...
Removable asked 14/10, 2013 at 19:28

2

Solved

I am learning to use the map of maps. In the following example, there are three nested maps. package main import ( "fmt" ) func main() { var data = map[string]map[string]map[string]s...
Gastroscope asked 29/9, 2020 at 22:22

4

Solved

I have implemented Google maps in my Android application and everything looked clean until few days. Previously the maps looked like the below image Now the map has a new look similar to image ...
Carvelbuilt asked 18/9, 2018 at 9:8

6

Solved

I have the following code: map: function (events) { var arrayOfLatLngs = []; var _this = this; // setup a marker group var markers = L.markerClusterGroup(); events.forEach(function (event) {...
Liquidize asked 20/2, 2015 at 19:26

8

Solved

I want to be able to get a estimate of the distance between two (latitude, longitude) points. I want to undershoot, as this will be for A* graph search and I want it to be fast. The points will be ...
Immunotherapy asked 1/4, 2013 at 2:44

1

Solved

Using Angular Google Map (AGM), I'm trying to add a new marker when map is clicked. To do so, I have added an event mapClick that will send the event with the coordinates to addMarker method. <a...
Fag asked 9/9, 2020 at 17:55

4

Solved

How do I disable mouse interactions or scrolling in an open maps iframe? I have the following and I put the attribute scrollwheel="false" Is there a way via css that can disable scrolling or inter...
Nelda asked 28/9, 2016 at 0:16

3

Solved

Using Hadley's great ggplot2 and his book (pp. 78-79), I am able to produce single choropleth map plots with ease, using code like this: states.df <- map_data("state") states.df = subset(states...
Swanson asked 8/2, 2012 at 1:13

0

I'm using dark theme version of tiles but during loading, maps displays tiles/background with default bright color. How to change this color ? I'm talking about google_maps_flutter plugin. Thank yo...
Endospore asked 28/8, 2020 at 9:6

2

Solved

I've created a R markdown report where the sections and tabsets are dynamically created. I have an issue where the Leaflet maps are not being generated in the output, but rather a blank white space...
Dreda asked 19/8, 2020 at 21:21

3

Solved

So I know that Javascript Maps have a set amount of keys that they can store ( around 16.7 M ). I was trying to test if I can ( in a very ugly way ) remove the oldest elements from the array. I not...
Expurgatory asked 30/7, 2020 at 17:22

9

Solved

I want to make an app which checks the nearest place where a user is. I can easily get the location of the user and I have already a list of places with latitude and longitude. What would be the b...
Population asked 29/4, 2010 at 23:30

3

Solved

I need to pass an instance of the LatLng class to another intent. How should I do it? Here's the code. LatLng fromPosition = new LatLng(23.4555453556, 11.145315551); LatLng toPosition = new LatLng...
Maynard asked 21/4, 2013 at 18:27

1

I would like to ask how to plot sf object in leaflet from leaflet package I am aware about mapview package that can plot it however I prefer using lealfet package. I provided example down below: ...
Sevenup asked 30/4, 2020 at 8:26

2

Solved

I am working on a web application with Java EE and I would like to dynamically add markers to the Google map placed on my JSP page with coordinates from my database. I have the following code, but ...
Hyoscyamus asked 20/4, 2014 at 17:43

2

I am trying to show the individual points in a given place, like a map equivalent of dot plot. I tried with leaflet library in R, but I am only able to map the size of the marker to the continuous ...
Fever asked 11/4, 2020 at 17:0

1

I am writing a demo web application that tracks multiple devices through my companies platform. I have the app working, but need a csv file that will simulate devices moving on a map as if they wer...
Thimbleweed asked 13/8, 2013 at 16:57

© 2022 - 2024 — McMap. All rights reserved.