Is there a way to display house numbers when using the Nokia Map Image API (the one for static maps)?
Currently the display of house numbers in an image is restricted to the Enterprise version of the Map Image API - this will display when the zoom level is 18 or greater.
On order to obtain enterprise access click on 'contact us' at the bottom of the plans page. Adding house numbers to the free public service is currently under consideration, but isn't available just yet.
Meanwhile, the best alternative would be to use the i parameter e.g. http://m.nok.it/?c=52.4998375,13.3924&nord&i&z=18 - this will geocode the address at the centre of the image.
Related
Hi I am new to React and Here maps, I am using Here maps for maps. Currently I am able to show live marker position, I want to show road signs as well.
For that I am constructing a request as specified here documentation
https://image.maps.ls.hereapi.com/mia/1.6/roadsign?apiKey=H6XyiCT0w1t9GgTjqhRXxDMrVj9h78ya3NuxlwM7XUs®ion=USA&category=0&label=I-80&w=100&h=100&f=0
In the documentation , only highways signs are mentioned. Is it possible to query traffic,speed limit signs as well? And the response returns image(PNG) , I am thinking to put that image onto map at specific lat and long position. Is this the right way to do?
The roadsign feature of the Map Image API has a very limited selection of signs and is in maintenance. You will have to create or source these images yourself. Fortunately there are many free icon collections available on the web.
Once you have the images, you can use a MapMarker to place these on the map.
I was playing with DataStudio GeoMap and GoogleMap features, I used Covid US datased. I made some research what is best for showing charts via GeoMap & GoogleMap, I made report with 6 slides, each slide has Title with used method and I found below issues:
1) Drill down for GeoMap not working often, state/regions not showed,
2) in slide #2 GeoMap: used 3 Geo Dimension: Lat/Long, City, Region : how to show City names ? (and disable Latitude?)
Seems that best way is showing via GoogleMap (slide #6) with Bubble dimension :Lat/Long with Tooltip: City > then values are showing to Cities,
only issue is how to setup default zoom region US, to avoid showing whole world ?
Here is report:
https://datastudio.google.com/reporting/f0201b38-c2ae-400c-8ca0-d65d001c9e3a/page/DOdRB
One note: in My old report from today somehow I was able to create report with drill down 2-layer GeoMap, used Dimension: City+Region > not accurate, many cities are missing:
https://datastudio.google.com/u/0/reporting/a729972f-97ec-4faf-8311-a49719d0826c/page/TeaRB
Trying to import GoogleMap via embded frame, but I got this error>>
Google Maps cannot yet be displayed in embedded reports.
Question 1: Google Maps & Filters
Opened the Report above, exported the Google Maps data to Goggle Sheets, recreated a Data Source and Report, and then had a look through; it seems that the data in the City field is sorted, classifying values outside the United States as NA, in addition, removed 0,0 values in the Latitude_Longitude field, thus this Filter does the trick:
Exclude City RegExp Match (NA)
AND
Exclude Latitude_Longitude RegExp Match (0,0)
Editable Google Data Studio Report and GIF to demonstrate (Feel free to have a look through and edit the Report as required):
Question 2: Geo Maps & Drill-down
The updated Filter in Question 1 should do the trick when using the Geo Maps Chart Type, with all three Geo Types - Latitude_Longitude City and Region working as expected using the Drill-down and the Zoom area set to United States; adding an image of the Filter above for clarification:
Google Data Studio Report and a GIF to elaborate:
Question 3: Embedding Map Charts
Geo Maps can be displayed on embedded reports.
Currently, Google Maps won't appear in embedded reports.
(Data Studio Report - Single source of data: GAnalytics)
A website has, say:
200 pages receiving views.
66 pages receiving all entrances, all sources (Landing Pages).
In data studio, I've created scorecards for both of the above stats.
I now want to create a pie which visually expresses the KPI: "30% of pages are landing pages".
I'm relatively new to Data Studio and think I'm struggling with dimensions v metrics.
As a Scorecard...
I've been able to achieve this as a scorecard (and it was correct), so here's the solution I found:
Create a calculated field with the formula:
COUNT_DISTINCT(Landing Page) / COUNT_DISTINCT(Page)
Add this new calculated metric to a scorecard metric slot, it'll automatically chose percentage to express the result.
Note: The above is using a single data source: Google Analytics (GA).
*** I'll update re the pie chart....
(I've not achieved this with Blended Data - my next quest)
I'm following this tutorial and in the last step of this part the author shows a piece of code:
// Get User's actual coordinates based on HTML5 at window load
geolocation.getLocation().then(function(data){
// Set the latitude and longitude equal to the HTML5 coordinates
coords = {lat:data.coords.latitude, long:data.coords.longitude};
// Display coordinates in location textboxes rounded to three decimal points
$scope.formData.longitude = parseFloat(coords.long).toFixed(3);
$scope.formData.latitude = parseFloat(coords.lat).toFixed(3);
// Display message confirming that the coordinates verified.
$scope.formData.htmlverified = "Yep (Thanks for giving us real data!)";
gservice.refresh($scope.formData.latitude, $scope.formData.longitude);
});
When I run his app (which you can check out here) browser asks me if I agree to share my location and - if I do - the map centers and focuses on my real position. But when I deny, the map shows me the center of America (I'm from Europe).
So my question is: Is there a way of centering the map near the users location in case he denies using the real GPS data? For example based on his IP address or host? In that case I don't need an exact location, but e.g. city or country would be nice to have.
If the user denies location in the browser, you don't get anything. There is no "general location" fallback. IP may be the only option for any kind of resolution at that point. I did not see anything in user agent that would provide location. When creating a Google map, you can specify default center for the map at instantiation, which in the tutorial he must have done for America.
EDIT
Using IP, you should be able to find a service that would resolve the IP to a physical region like this:
IP to Location
Then you can send that location to the Google Maps geocoder to get a point you can center the map to like this:
Google Maps Geocoding example
Can I get a location of mobile devices from j2me programming having no GPS unit installed?
Can I obtain the location using cell tower info? I heard about triangulation method.
And gone through http://developers.sun.com/mobility/apis/articles/location/ doc
In this doc they have given code only for mobile phones having GPS application installed.
But what about the others which does not have GPS in them? How can they get the location?
update I got a link which answers my question: http://mobiforge.com/developing/story/adding-location-a-non-gps-phone-introducing-cellid
You can get the ID of the nearest cell tower to you. The way this is fetched however differs from manufacturers. On Nokia phones, you can get it through something like these:
cellID = System.getProperty("Cell-ID");
if (cellID == null)
cellID = System.getProperty("com.nokia.mid.cellid");
while on Sony Ericsson, you have this:
System.getProperty("com.sonyericsson.net.cellid");
Once you get the cell id, you can easily use the OpencellID API to retrieve more information (coordinates, and all that) about the id. The two challenge with this though is that
Cell ids may not be accurate to a distance of up to a km
The information may not be available on opencellid.org