ArcGIS Flex API: Convert a screen point to a MapPoint - apache-flex

Using the ArcGIS Server Flex API, is there a way to convert mouse coordinates on the screen or the a map control to spatial coordinates in the map? It seems like there's functionality to convert map points to screen points, but a function for converting in the other direction seems weirdly absent.

I think this method should help

hector: You really should ask this as a question, or you could look into the documentation. Method toScreen() is just what you want.

Related

QGIS - Is it possible in QGIS to set an 'correction' value for scale to a WMS call?

I have access to 2 WMS services that show Text as Rasterlayer at a specific scale (1:2500). Problem is this 'scale' is so small that you can't work within our project because you have no overview.
BEst solution would be to override the scale to the WMS call and tell QGIS under 1:20000 to translate this to 1:2500 for this specitif layer. Is this even possible? And if so how? Proxy or something?

How to create map marker to show multi users' facing direction by here sdk?

I want to create a mobile application that can show where is your friends and in which direction they are facing. I want to use positionIndicator at first but I can't create one more positionIndicator on the map view. Then I turned to MapMarker, But I found I can't rotate it and scale it. And I tried MapLocalModel, but I don't think it's a good idea to use a 3d module to render a 2d object. Then I think I should create a new MapObject class. But the constructor of MapObject is package protect. I can't call it or override it. So, what's the correct way to implement it?
MapLocalModel in general is the right approach for a marker which could be rotated. Agree that for 2D object MapLocalModel is not the best approach however the alternative would be rotating the image used for MapMarker itself which might also have some performance hit.

Slopes on roads in map tiles. How to obtain them?

I would like to be able to show the slope of the streets using map tiles. However, I can't see from the documentation that this information is available.
Can anyone help ? Either to confirm that it is not possible or to lead me in the correct direction.
Thanks.
For getting this info you need to use Platform Data Extension
https://developer.here.com/platform-extensions/documentation/platform-data/topics/introduction.html

Geolocation: UTM to Geodetic translation

Maybe there's a better place to ask this, but I figured maybe someone has come into this problem before and can give me a hand with it.
I have a bunch of locations (36k) and they are represented using SIRGAS2000 (UTM 21s) coordinates. I need some way of converting them to traditional LatLng (Geodetic) format so I can upload them to my database and use those coords with Google Maps API.
Has any of you ever bumped into something similar?
Ok, I just found a JS library for this task. It will convert from and to various types of coordinates.
Here's a link to it in case anyone needs it ...
http://www.jstott.me.uk/jscoord/
Some examples in there too

Geographical Data Visualization in a Web Application

I've got a request to implement a visualization service for geographical related data.
I have a list of Italian ZIP Codes (they are called CAP in Italian). I've already found a table which maps these ZIP codes to geographical coordinates (lat/long).
So, the data I have to visualize as map is structured the following way:
ZIPcode Latitude Longitude RequestCount
------- -------- --------- ------------
Is there an easy way (using a web service or implementing it myself using a component - preferably in .NET) for creating a map chart similar to the image i inserted below? It needn't to be that pretty and not necessarily geo-political.
I just need a indicator for every point which shows a smaller or bigger circle and next to it the value of RequestCount. I think this could be done either using the coordinates or, if there is some service which maps the Italian ZIP codes, using the ZIP code.
Thank you in advance!
alt text http://img515.imageshack.us/img515/3814/carsalesuh6.png
GeoNames offers a data set and open source libraries for geo mapping
Take a look at .net Charting and Chart FX Maps (I've never used these before).
Maybe...
Use the Google Map API. You can't draw circle overlays, but you can draw polygons. Here's the API for drawing polygons. An 8-sided polygon already looks pretty circle like. You could experiment with more sides to see how that looks.
Here's the API reference for the Google GPolygon class:
http://code.google.com/apis/maps/documentation/reference.html#GPolygon
I've used MapServer for many projects and it works well and is very flexible. Haven't tried the .NET bindings though:
http://www.paolocorti.net/2006/09/20/mapserver-tutorial-for-c-mapscript-asp-net/
I've used Fusion Maps for things like this. It is flash based with a javascript API. You can easily feed it either a static XML file to start, but I've also built various webservices to give it dynamic capabilities. There are many options to change the look and feel of the map as well.
take a look at Mapv - a library of geography visualization
enter image description here

Resources