Lat & longitude coordinates in flash map?
Currently, I have a map of the united states, where each
state is a button that jumps to another page when you click on it.
I also have a list of customers and the (town, STATE) where
they are located.
I would really like to be able to have flash coordinate with
a list, be it XML or otherwise, that contains the locations of the
customers, then have it ask google maps, yahoo, or some other
online program where those locations are, then have it plot those
locations on a large map of the state that was clicked on. This
way, a customer will be able to come to the large map of the United
States, click on his state, and see the locations of my company's
other customers in that state.
I have heard seen other sites grab the coordinates from a
location, but I have no idea how to do something like that. ANY
suggestions are welcome, even if it is to say that I am doing
something wrong.
To see the map I have so far, go here:
http://www.geocities.com/tjs1212/MyMap.html
Again, the goal is to go to a state, explode the state to a
larger iew, and be able to see existing customers in that state
with dots where they are located. (can make the max number of
locations per state as low as 10 to make it streamlined).
You've got several issues here, but let's stick to the
geocoding one first... Try the explanation in the Google API (I'm
sure Yahoo Maps has similar documentation):
http://www.google.com/apis/maps/documentation/#Geocoding_Examples
Also, there are free services that aren't attached to Google
or Yahoo. In the version 1 of the Google API, you HAD to use one.
They used to recommend and I have used Geocoder.us <
http://rpc.geocoder.us/>
in the past and its worked fine.
Hope that gets you started!
Similar Messages
-
Using Latitude/Longitude Coordinates to enter a destination
I have been trying to figure out if it is possible to define a destination in Maps by lat./long. coordinates, which could be really useful in a number of situations, including two people with iphones trying to find each other. As far as I can tell, it is not possible but one person at an Apple Store suggested that I could download Google Earth and at least get a location on a map that I could then use in the Maps function.
1. Can you input lat./long. coordinates into Maps and, if not, is Apple working on it? I think it would be pretty easy to do.
2. Can you download Google Earth to a 3G?1. You can enter lat/long coordinates in the map app, but you must convert degrees + minutes and seconds to decimal degrees. This is an easy to use converter: http://www.uky.edu/KGS/gis/converter.htm
2. Google Earth has an app for the iPhone. http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=293622097&mt=8 -
How do I use map coordinates in Apple Maps to set up my GPS?
I'm trying to use an address in Apple maps that is a rural route.The rural route is not precice enough to help me set up a route in the GPS. I have the lattitude and longitude coordinates. How do I use the coordinates in Apple Maps to set up my GPS?
I tried dropping a pin on the location I want to go to but Apple maps still directs me to a location about 30 miles away.I tried dropping a pin on the location I want to go to but Apple maps still directs me to a location about 30 miles away.
That "should" work. Drop the pin exactly where you want it, tap the arrow on the right and the select Directions to/from here. -
Coordinates from dxf map in java
Hi,
I have to do a project in java using maps (dxf autocad file) and draw
objects on this map according to some related lat/long coordinates. I
do not know how to map the world coordinates in lat/long to x/y
coordinates on the dxf file.
Hope somebody can help me...
Thx
MartinYou might be able to get Java source code from someone who did that [url http://www.escape.de/users/quincunx/dxfviewer/dxfviewer_intro.shtml]here or you can search through [url http://software.geocomm.com/scripts/cad/]this list for something. A few Google searches can provide many more links.
-
Loading Polygon Lat/Long Coordinates
Am working with Census 2000 data. I have added coordinates to cen00_state
based on the centroid values in INTPTLAT (latitude) and INTPTLON (longitude).
SQL> describe cen00_state;
Name Null? Type
STUSAB NOT NULL VARCHAR2(2)
REGION NOT NULL VARCHAR2(1)
DIVISION NOT NULL VARCHAR2(1)
STATECE NOT NULL VARCHAR2(2)
STATE NOT NULL VARCHAR2(2)
AREALAND NOT NULL VARCHAR2(14)
AREAWATR NOT NULL VARCHAR2(14)
NAME NOT NULL VARCHAR2(20)
FUNCSTAT NOT NULL VARCHAR2(1)
GCUNI NOT NULL VARCHAR2(1)
POP100 NOT NULL NUMBER(9)
HU100 NOT NULL NUMBER(9)
INTPTLAT NOT NULL VARCHAR2(10)
INTPTLON NOT NULL VARCHAR2(11)
LSADC NOT NULL VARCHAR2(2)
HUD_REGION_ID NOT NULL NUMBER(2)
HUD_REGION_NAME NOT NULL VARCHAR2(11)
CKEY NOT NULL VARCHAR2(2)
STATE_GEO_LOCATION MDSYS.SDO_GEOMETRY
SQL> -- Select state data for New Hampshire
SQL> select * from cen00_state where state = 33;
ST R D ST ST AREALAND AREAWATR NAME F G POP100
HU100 INTPTLAT INTPTLON LS HUD_REGION_ID HUD_REGION_ CK
STATE_GEO_LOCATION(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_O
NH 1 1 12 33 23227265747 988970050 New Hampshire A N 1235786
547024 +43.309253 -071.540147 01 1 Region I 33
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-71.540147, 43.309253, NULL), NULL, NULL
Metadata dictionary entry...
SQL> select * from user_sdo_geom_metadata where table_name = 'CEN00_STATE'
TABLE_NAME
COLUMN_NAME
DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SRID
CEN00_STATE
STATE_GEO_LOCATION
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('LONG', -180, 180, .005), SDO_DIM_ELEMENT('LAT', -
90, 90, .005))
8307
Index...
SQL> select * from user_sdo_index_info where index_name like 'CEN00_STATE%';
INDEX_NAME TABLE_NAME
COLUMN_NAME
SDO_INDEX_TYPE SDO_INDEX_TABLE
SDO_INDEX_STATUS
CEN00_STATE_SIDX CEN00_STATE
STATE_GEO_LOCATION
RTREE MDRT_37FFD$
VALID
SQL> -- Query example
SQL> -- How close are the New England states to New Hampshire (centroid)?
SQL> select /*+ordered*/
a.name,sdo_geom.sdo_distance (a.state_geo_location, b.state_geo_location,
.005,'unit=MILE') distance_in_miles
from cen00_state b, cen00_state a
where b.state = 33 and a.state <> 33
and sdo_within_distance (a.state_geo_location,b.state_geo_location,
'distance = 150 unit=MILE') = 'TRUE'
order by distance_in_miles
NAME DISTANCE_IN_MILES
Massachusetts 74.4552857
Vermont 75.246055
Rhode Island 109.036884
Maine 139.790842
Connecticut 139.841283
Since the coordinates are the centroid location within a particular
geographic level, I want to store the polygons. For the Census 2000
table cen00_anrc:
SQL> describe cen00_anrc;
Name Null? Type
STATE NOT NULL VARCHAR2(2)
ANRC NOT NULL VARCHAR2(5)
ANRCCC NOT NULL VARCHAR2(2)
AREALAND NOT NULL VARCHAR2(14)
AREAWATR NOT NULL VARCHAR2(14)
NAME NOT NULL VARCHAR2(90)
FUNCSTAT NOT NULL VARCHAR2(1)
GCUNI NOT NULL VARCHAR2(1)
POP100 NOT NULL NUMBER(9)
HU100 NOT NULL NUMBER(9)
INTPTLAT NOT NULL VARCHAR2(10)
INTPTLON NOT NULL VARCHAR2(11)
LSADC NOT NULL VARCHAR2(2)
CKEY NOT NULL VARCHAR2(7)
ANRC_GEO_LOCATION MDSYS.SDO_GEOMETRY
I obtained the polygon coordinates from the Census Bureau for the ANRC geography.
The data was loaded into a table:
SQL> describe poly_4pt;
Name Null? Type
STATE VARCHAR2(2)
ANRC VARCHAR2(5)
GID VARCHAR2(32)
GEOMETRY MDSYS.SDO_GEOMETRY
An example query:
SQL> select * from poly_4pt where gid = 68;
ST ANRC GID
GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
02 01570 68
SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARR
AY(173.602191, 52.444285, 173.732254, 52.5124549, 173.73627, 52.512422, 173.7695
03, 52.512072, 173.772799, 52.509905, 173.772402, 52.506877, 173.766595, 52.5032
94, 173.754979, 52.496127, 173.739385, 52.493257, 173.722218, 52.4846423, 173.70
7741, 52.477377, 173.700056, 52.4655878, 173.695719, 52.458935, 173.691601, 52.4
45935, 173.69386, 52.438694, 173.702252, 52.434804, 173.704299, 52.432192, 173.7
12323, 52.421033, 173.719161, 52.397703, 173.725102, 52.360316, 173.725696, 52.3
56579, 173.722229, 52.3565693, 173.651293, 52.35637, 173.644793, 52.357598, 173.
640825, 52.359428, 173.606767, 52.378249, 173.595397, 52.391893, 173.593253, 52.
3948411, 173.588794, 52.400973, 173.562061, 52.4011506, 173.559891, 52.401165, 1
73.559254, 52.4008288, 173.556548, 52.3994015, 173.543778, 52.392666, 173.539462
, 52.3916242, 173.512162, 52.385035, 173.503009, 52.384534, 173.495585, 52.38412
77, 173.483843, 52.383485, 173.475268, 52.3840144, 173.465442, 52.384621, 173.45
5586, 52.389656, 173.3955, 52.402647, 173.385704, 52.404072, 173.36964, 52.40396
09, 173.362396, 52.4039108, 173.356927, 52.403873, 173.356103, 52.405563, 173.38
0058, 52.431843, 173.440111, 52.453664, 173.445696, 52.455031, 173.467698, 52.44
4473, 173.476243, 52.441909, 173.485468, 52.4415431, 173.490265, 52.4413527, 173
.496641, 52.4410998, 173.501022, 52.440926, 173.525161, 52.448137, 173.530105, 5
2.449968, 173.550002, 52.467067, 173.549605, 52.469989, 173.545302, 52.476, 173.
555739, 52.479472, 173.556228, 52.4794307, 173.562814, 52.4788745, 173.587554, 5
2.476785, 173.597091, 52.4847036, 173.623883, 52.506948, 173.680586, 52.512878,
173.732254, 52.5124549))
Now I want to load the polygons into cen00_anrc doing a join between
poly_4pt and cen00_anrc with anrc as the join field. After a number
of attempts to do so I am received an error saying that the SRID criteria
doesn't match at various levels. Unfortunately I can't seem to reconstruct
the query that I was using earlier to get to the point where I was
getting the SRID error.
Questions:
- Can I store polygons as lat/long coordinates? If affirmitive, then
what are the proper values for the header information for SDO_GEOMETRY?
- What is the most efficient SQL update command to load the polygons from
the poly_4pt table into the cen00_anrc table?
Thank you for any assistance.I have further narrowed down the problem. It is the way the sdo_geometry and sdo_elem_info_array information is being placed in the data flow within the sqlldr control file. If I leave out the '8307' SRID value thusly:
LOAD DATA
INFILE *
TRUNCATE
CONTINUEIF NEXT(1:1) = '#'
INTO TABLE POLY_4PT
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS (
STATE CHAR,
ANRC CHAR,
GID INTEGER EXTERNAL,
GEOMETRY COLUMN OBJECT
SDO_GTYPE INTEGER EXTERNAL,
SDO_ELEM_INFO VARRAY TERMINATED BY '|/'
(elements FLOAT EXTERNAL),
SDO_ORDINATES VARRAY TERMINATED BY '|/'
(ordinates FLOAT EXTERNAL)
begindata
02|03950|1|2003|1|1003|1|/
#-0.153395741022000E+03|0.679530269228395E+02|
#-0.149460812000000E+03|0.680022380000000E+02|
#-0.149506561000000E+03|0.680019960000000E+02|
it loads the correct values into the respective fields:
SQL> select * from poly_4pt where anrc = '00590';
ST ANRC GID
GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
02 00590 9
SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARR
AY(-144.47165, 61.6139949, -148.80311, 63.649898, -148.78899, 63.649597, -148.78
899, 63.649597, -148.66386, 63.647044, -148.42804, 63.649307, -148.42155, 63.503
If I add the '8307' SRID to the data syntax thusly ('8307' now follows SDO_GTYPE):
02|03950|1|2003|8307|1|1003|1|/
#-0.153395741022000E+03|0.679530269228395E+02|
#-0.149460812000000E+03|0.680022380000000E+02|
#-0.149506561000000E+03|0.680019960000000E+02|
The data doesn't get loaded into the proper fields. The '8307' SRID becomes part of SDO_ELEM_INFO instead of SDO_SRID even though it seems that it should load correctly the way I have it formatted.
SQL> select * from poly_4pt where anrc = '00590';
ST ANRC GID
GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
02 00590 9
SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(8307, 1, 1003, 1), SDO_ORDINATE_ARRAY(-144.47165, 61.6139949, -148.80311, 63.649898, -148.78899, 63.649597, -
148.78899, 63.649597, -148.66386, 63.647044, -148.42804, 63.649307, -148.42155,
63.503574, -148.41974, 63.462892, -148.41658, 63.391985, -148.36345, 63.391998,
So the real problem is that I don't understand what sqlldr is doing and therefore don't understand where I should position the '8307' SRID value in the data flow in order for it to be loaded into the correct field. I guess I am "object-relational data load challenged"!
Thank you for your continued assistance. -
How to create a polygon with the Lat/Long Coordinates
I have set of Lat/Long coordinates and I need to create a polygon geofence. Can any of you know how to do this please share your thoughts with me
I have the following coordinates
-84.3087, 39.3465; -84.3118904, 39.3306296; -84.3265158, 39.3372422; -84.2866, 39.3371; -84.2958, 39.3284; -84.2888, 39.3241
ThanksAssuming these are long/lat values, the polygon can be defined as:
sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 1),
sdo_ordinate_array(-84.3087, 39.3465, -84.3118904, 39.3306296, -84.3265158, 39.3372422, -84.2866, 39.3371,
-84.2958, 39.3284, -84.2888, 39.3241, -84.3087, 39.3465))
siva -
Select data with SDO_RELATE in lat long coordinate system(8307) in 10gR2
Hi all,
I have problem with selecting data from table.
Data are in lat lon coordinate system 8307.
These requests don't return any data:
SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)) ) = 'TRUE';
SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_RELATE(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)), 'MASK=ANYINTERACT' ) = 'TRUE'
Optimized polygon does return all data correctly:
SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,3),sdo_ordinate_array (-180,-90,180,90)) ) = 'TRUE'
Smaller polygon select data correctly too.
SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array (52,-7, 54,-7 , 54,-5 , 52,-5, 52,-7)) ) = 'TRUE'
I have tried changed polygon to be clockwise, counter clockwise, make the area a bit smaller( 160 instead of 180, 89 instead of 90) nothing has helped.
My explanation than was, that Earth is sphere and each defined polygon defines TWO polygons in the sphere and there is convention that the smaller is chosen to select data. It would make sense along the previous results, but than I found one post which says that this is bug http://www.frontoracle.com/oracle-database/703/180703-size-of-are-of-interest-smaller-equals.html
I have found in other thread that max only 1/2 of Earth could be selected Different results using SDO_RELATE with polygon and rectangle type but it seems not true, because optimized bounding box works fine!
What is right? Is there anything in official documentation?
Is it bug.
Max 1/2 of Earth could be selected in one request.
Each polygon defines two areas in the Earth and the smaller one is used to do spatial SDO_RELATE operation?
Thanks!
Regards,
ZdenekZdenek,
A bug, or limititation, whichever you choose. IMHO if you ask for something, and don't get what you expect, it is a bug that could be fixed.
But for 10g anywho, the following applies, which is why I choose 120 degree breaks for my code as it is less than 180...
The following size limits apply with geodetic data:
■ No polygon element can have an area larger than one-half the surface of the Earth.
■ In a line, the distance between two adjacent coordinates cannot be greater than or
equal to one-half the perimeter (a great circle) of the Earth.
If you need to work with larger elements, first break these elements into multiple
smaller elements and work with them. For example, you cannot create a geometry
representing the entire ocean surface of the Earth; however, you can create multiple
geometries, each representing part of the overall ocean surface. To work with a line
string that is greater than or equal to one-half the perimeter of the Earth, you can add
one or more intermediate points on the line so that all adjacent coordinates are less
than one-half the perimeter of the Earth.
Bryan -
How to get coordinates from Google Map
I wonder how to get coordinates from Google Map to JavaFX application when click has occured. Here is an example of code:
public class JavaFXApplication extends Application {
public void showCoordinates(String coords)
System.out.println("Coordinates: " + coords);
@Override public void start(Stage stage)
final WebView webView = new WebView();
final WebEngine webEngine = webView.getEngine();
webEngine.load(getClass().getResource("googlemap.html").toString());
webEngine.getLoadWorker().stateProperty().addListener(
new ChangeListener<State>() {
@Override
public void changed(ObservableValue<? extends State> ov, State oldState, State newState) {
if (newState == State.SUCCEEDED) {
JSObject window = (JSObject) webEngine.executeScript("window");
window.setMember("java", new JavaFXApplication());
BorderPane root = new BorderPane();
root.setCenter(webView);
stage.setTitle("Google maps");
Scene scene = new Scene(root,1000,700, Color.web("#666970"));
stage.setScene(scene);
stage.show();
public static void main(String[] args){
Application.launch(args);
// googlemap.html file
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0px; padding: 0px }
#map_canvas { height: 100%; background-color: #666970; }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
</script>
<script type="text/javascript">
function initialize() {
var latlng = new google.maps.LatLng(40.75089, -73.93804);
var myOptions = {
zoom: 10,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeControl: false,
panControl: true,
navigationControl: true,
streetViewControl: false,
backgroundColor: "#666970"
var map = new google.maps.Map(document.getElementById("map_canvas"),myOptions);
document.map = map;
google.maps.event.addListener(map, 'click', function(event) {
//java.showCoordinates(event.latLng); ???
map.setCenter(location);
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>Edited by: krbltik on 03.10.2012 22:59Hi, welcome!
You may also have a look at GPS Info Qt, available for free at Ovi Store: http://store.ovi.com/content/165671
GPS Info Qt is a nice Qt app. I have it on my C6-01 and I like it.
Regards. -
Images in Flash Mapping Client??
Hi,
Now, I'm working with Mapviewer using the Flash mapping Client. It works quit well. I'd like to know if you can insert an image like a JPG or GIF.
ThanksHi,
What a pity!! :-( We work with aereal images and it is very important for us to work with them.
Do you know if the next version would support it?
Thanks
Regards. -
Demo data set for flash mapping
As specified in the MapViewer welcome page, what's the demo dataset which i need to import to view the Flash mapping demo.
Any help or suggestions will be appreciated.
Thanks in advance
NagarjunaIn 10g, all demo programs are installed via separate companion CD. DM demo programs are part of the companion CD and you need to install the demos from there.
-
I am facing issue when opening flash files in Flash CC. (Error : - .fla was created with a later version of Adobe Flash Professional CC and might contain new features not supported in this version of Flash professional.)
fyfesa1970 wrote:
Ask a simple question and get a simple answer...see below...hilarious:
All representatives are actively assisting other customers. Your estimated wait time is 0 minute(s) and 1 second(s) or longer. Thank you for your patience.
We all can learn from this. Whenever you get stuck in a customer-service situation that goes nowhere, as soon as you become aware of the futility, get the name and employee ID of the person, then say, "I don't mean to be rude, I think we're both wasting our time. Perhaps you weren't trained for this issue, or perhaps your system isn't displaying the correct information. It doesn't matter, because I'm not getting proper customer support this way. Please ESCALATE this to your highest-level manager IMMEDIATELY. If that person isn't availabe, ESCALATE me to that person's highest-level manager. If you haven't been given the proper training, you can use this to inform your manager that you need the training. Thanks for trying to help. I appreciate it. I have copied and saved this chat session. NOW PLEASE ESCALATE THIS CASE AS I HAVE REQUESTED ABOVE. I'm waiting now... "
The point is that you're a customer, and the company needs customers, so the individual who's failing to deliver good service needs to be identified so they can be properly trained, and so that problems in the system can also be identified, but more important is that you get the service you're entitled to.
If you search the forum for similar questions, you'll see the kind of information that the volunteer users like yourself on the forum need to know about your system and files involved, so they can help you better.
Good luck.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
After almost 3 years of development, a new way of viewing
maps on mobile devices. Currently uses Flash Lite 1.1.
flashmap retrieves dynamic data from xml, parses it using php
then displays it on Flash Lite 1.1 enabled mobile phones. Use the
keypad to navigate and zoom in and out, #5 shows the menu, up and
down keys select the stores. Once pressed, you will be directed to
the store you selected.
Please note: you may not see the stores actual page when you
press "enter" as it goes to a mobile website in Japan. Everything
else is ok.
We are providing this service for free for users. Please
visit our pc site to gain access to the mobile flash map sample and
view the flash video on the pc site to see the flash map from my
desk!
Mobile Flash
MapHello there,
I think the problem is in how you're capturing the variables
in your PHP script. I created an example using your Actionscript
code and it works fine. Instead of hard coding the values for the
variables in the script, I created a registration form and got the
values from input textfields. Once you hit the SUBMIT button a
window opens in the browser and a PHP file catches all the
submitted data and outputs the results.
Below is the code I used in both Flash and PHP files. You can
view the example
here and
download the files
here.
Hope that helps! -
Tooltip for flash map is misbehaving
I'm creating a cool flash map with close to 70 locations
listed. I created a tooltip function that displays the tooltip when
the user rolls over any location button on the stage. Now, I would
like to know what is the best way to inject the tooltip info
dynamically in my function. So far I have this(see attached code
below) and the tooltip function works but the array info is not
displayed correctly. I get an "undefined" in the tooltip text area
when I roll over the location. What could I be missing?
Any help is much appreciated. Gracias!
function showTip(tipText, orient) {
tooltip._x = _xmouse;
tooltip._y = _ymouse;
tooltip._visible = true;
tooltip.gotoAndStop(orient);
tooltip.tiptext.text = tipText;
tooltip.tiptext2.text = tipText;
onMouseMove = function(){
tooltip._x = _xmouse;
tooltip._y = _ymouse;
updateAfterEvent();
function hideTip(){
tooltip._visible = false;
var b69_text:String = "Espies \n90 Wythe Ave.";
var array_text:Array = new
Array("location0","location1","location2","location3");
for(i=0; i<5; i++){
this["b"+i].onRollOver = function(){
showTip(array_text
, 5);
this["b"+i].onRollOut = function(){
hideTip();I played with the code in every way I can think of, so to get
a reason as to what's being violated we'll need someone with expert
knowledge.
What it appears to boil down to is assigning the rollOver
function in a loop with any kind of variable in the showTip
function call won't fly, except for the case where it is as it
appeared in your posting (with the [ i ] absent)... in which case
the entire array displays. If I try to assign the current array
value to another variable, within the loop, ahead of defining the
function, and use that in the showTip call, it displays the last
element of the array for all cases.
In the event that no one who knows why comes into play,
there's another way that you can skin this cat... Place your
buttons into movieclips (right click->convert to symbol, etc),
and use the loop to assign the tip text to a variable in the
movieclip. Your button code within the movieclip can be the same
for all cases, calling on that variable. -
Latitude and Longitude converting in flash
Hello team,
I have Latitude and Longitude values in radians with me. I
want to map these data to flash coordinate system (in terms of X
and Y). Could anyone help me in converting the angles into flat X
and Y system of flash.
Thanks in advance
Regards,
Nilesh WalkoliHi Roscoe,
Based on my test, we can use the query below to convert Latitude and Longitude to geographic data type:
SELECT 'POINT(' + CAST([Longitude] AS VARCHAR(10)) + ' ' + CAST([Latitude] AS VARCHAR(10)) + ')' as geography FROM table
Geographic data is used as spatial data in map. Spatial data defines the appearance of the map whereas analytical data provides the values that are associated with the map. The following sources of spatial data are supported:
Map gallery
ESRI shapefiles
SQL Server spatial query
In your scenario, we should select SQL Server spatial query that use a query that returns spatial data from a database to define map areas. For more details, please refer to the following articles:
Tutorial: Map Report (Report Builder)
Creating an SSRS Map report with data pinpoints
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How can I link to a specific point and zoom in a public GIS Flash map?
I have been given the url for a county map that is presented in an interactive Flash document.
http://68.156.95.45/newberrygis//#1
Client would like me to focus in on their specific development, which requires panning the map and zooming in.
How can I find a query string that will help me to do that?The functionality of the GIS map was important. I was given the email for the person in charge of the map, who helped me out. It appeared that he was able to outline the road in the neighborhood that I needed to focus on. That provided a parcel ID, which in turn made it possible to focus in on the proper area. This is supposition on my part; perhaps he has other info that gave him the parcel ID.
I agree with Ken...I'm not a huge fan of Flash on other than desktops and laptops, but it is what it is, client needs to use it, I need to help the client out!
B
Maybe you are looking for
-
Creating a new document/canvas (to add multiple images to)
I am totally new to Photoshop Elements (using v.13), with some previous experience in old versions of Photoshop. I am an interior designer and I want to make a design board. Essentially what I am trying to do is create a new, blank document layer and
-
Select new row in tree after add
In quite a few of our pages in our application we have trees and tree tables that can have rows added through separate popup windows. After the user successfully adds the record and closes the popup the tree/treetable is refreshed properly, however w
-
How to access elements in main.mxml from ActionScript file?
I am having difficulties creating a panel using the Extension Builder SDK. It seems that all the examples explain how to control a CS5 document using a panel, but I have not found any examples of how to control the elements of the panel via the Actio
-
How do I remove the ringer icon which sits permanently in middle of screen
How do I remove ringer symbol which sits permanently in middle of screen
-
Login Screen Customization for EP 7.0 (NW04S)
Hi Folks, I had customized login screen in EP 6.0 (SP 15), now we have upgraded the version to EP 7.0 (NW04S). How to customize the login screen? Please provide some pointer. Thanks, Deepak