Questions tagged as 'geo-localizacion'

1
answer

can you change between GPS_PROVIDER and NETWORK_PROVIDER at runtime?

The situation is this, every so often I send the user's location to a small test table, the location I get it through the gps, if this was not activated at the start of the service I would get the location through NETWORK_PROVIDER, all it works...
asked by 25.10.2017 / 23:30
1
answer

Geolocation cordova and javascript

I would like to be able to take the value of the variable lat out of the function, to put it in a form. In this case, I just wanted to take out an alert (lat), but it does not work. Or it shows everything or nothing, but only lat no. <html&...
asked by 31.07.2017 / 10:50
1
answer

InputStream stream = new URL (params [0]). openStream ();

I need to send an additional variable to the url, my code is this private final String mGeoJsonUrl = "http://181.XXX.XXX.XXX:8080/MIPAGINA.php?id=" + id ; protected void start() { DownloadGeoJsonFile downloadGeoJsonFile = new DownloadGeoJ...
asked by 06.07.2016 / 23:56
1
answer

Why does not the map load me?

A big hello. I have a problem, I do not load the map on the website, what should I do? Thank you very much. <!-- Add Google Maps --> <div id="googleMap" style="width:100%;height:400px"></div> <script>...
asked by 05.09.2017 / 19:59
1
answer

How to get the change event of a layer in OL3 using ol.control.LayerSwitcher

I'm using Open Layers 3 with the ol.control.LayerSwitcher plugin and I wanted to know how I can get it when I change a layer in the switcher. I was looking for a lot on the internet and I can not find a solution to this. The idea is when the c...
asked by 07.01.2017 / 15:39
2
answers

Save path in MySQL POINT

I need to save a complete path set by GeoPuntos ( POINT ) in mysql to be displayed in an application
asked by 16.04.2016 / 20:27
0
answers

How to get the coordinates of the area that is displayed on the screen?

I need to obtain the geometry of the screen area (rectangle) or the coordinates of the 4 points that delimit this area (vertices of the rectangle), what I want to achieve is that as the map moves, only the elements are shown that are within the...
asked by 31.10.2018 / 19:26
1
answer

TypeError: undefined is not an object (evaluating 'result [0] .geometry')

Hello I'm trying to get the latitude and longitug in angular and be saved in firebase give me this error My code is:    import {Component, OnInit} from '@ angular / core';   import {PlacesService} from '../services/ places.service';...
asked by 31.10.2018 / 04:20
0
answers

Geolocation in a dataframe

I have a data frame. with the columns cities, latitude and longitude the cities some have NaN others are complete. How can I do to fill in the columns of cities with longitude and latitude. example Mundo = { 'ciudades': ['Nan', 'Buenos...
asked by 30.08.2018 / 23:52
0
answers

Save Location with sharedpreferences - what default value do I have to use?

hi I'm trying to save a location with sharedpreferences but when I want to load it I can not. The problem is in the load in the default value that I put that is null but I do not know that another value put probe with several things but I do...
asked by 03.07.2018 / 04:54