[mapguide-users] Tooltip Issues in Internet Explorer

Andy Morsell amorsell at spatialgis.com
Fri Jun 2 18:31:14 EDT 2006


It also works perfectly well in the Studio preview window, so I don't think
it's the way we are referencing the images.  My implementation is very
similar to yours and my referenced .aspx page returns an image
programmatically via Response.ContentType = "image/jpeg";  In IE, if I hold
my mouse over the feature for long enough, it might flash 3 or 4 times
(sometimes seeing the returned image flash in the contents as well) and then
it settles down and displays.  But most of the time it just flashes.  I can
tell that each one of those flashes the web surround is calling the embedded
page over and over, however.  Like I said, I think this will be easy for
Autodesk to replicate by just plugging in the below <img> tag into a layer
tooltip and loading the map in IE.  
 

Andy 


  _____  

From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
Sent: Friday, June 02, 2006 1:16 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer



Yep.Works great in Firefox.   So you see the IE issue?  Just flashes.
Maybe it's with the way they are pushing out the image.

 

I'm going to try one of my .NET pages that pushes out an image.  Hopefully,
that will work better.

 

Thanks Andy.

 

- Juan

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Friday, June 02, 2006 3:28 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer

 

Juan,

By removing the double-quotes around the URL, it works fine.  I just tried
it by assigning: <img
src=http://www3.fdle.state.fl.us/sexual_predators/GetImage.asp?fin=251095
border=0 width=52 height=59>' border=0 width=52 height=59>.  to one of my
layers tooltip so it displays that for every object.  I still see the
Internet Explorer weirdness, however.  At least it should make testing that
problem easy for Autodesk ........... 

Andy 

  _____  

From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
Sent: Friday, June 02, 2006 12:03 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer

Andy:

 

So you reference a page like me when trying to bring the images.

 

In my tool tip, I have'<img
src="http://www3.fdle.state.fl.us/sexual_predators/GetImage.asp?fin=251095"
border=0 width=52 height=59>'

 border=0 width=52 height=59>'

 

This should bring back the image, but it's not.   Can you pass along how you
are putting the code in the tool tip?   Maybe I'm doing something wrong.
You're using Enterprise version of Mapguide OS?

 

- Juan

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Friday, June 02, 2006 2:37 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer

 

Juan,

Yes, the image are on that server and are rendered from the full-size images
on-the-fly to a .NET thumbnail image.  This image is created by an ASP.NET
page that the tooltip references while passing the parcel ID.  I use the
exact same page calls in Google Maps and Google Earth and it works
incredibly well.  I am actually amazed at how fast .NET is at this
on-the-fly image processing.  You can see the Google Earth implementation
here: http://mapguide.spatialgis.com/mapguide/GoogleEarthDemo/.  I don't
have all of the images for the County loaded (40 GB worth) on to the server
yet, but will by Monday.  For now, open this placemark file after opening
the above link in Google Earth.
http://www.spatialgis.com/spokane_parcel_photo_area.kmz

 

Regarding your other question, no, I have not seen the browser freeze up
when accessing this application.  It could be that you happened to be
browsing when the MapGuide service was restarted and you lost your session.
I restart it via a scheduled task every two hours due to stability issues
discussed in the past.  It's not pretty, but it makes sure that the server
is usually running when people try to access it.

Andy 

  _____  

From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
Sent: Friday, June 02, 2006 11:11 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer

This goes back to a post that I had earlier.   You are referencing an image
on a server somewhere, correct?  I have this working great too, but in IE
the tool tip acts erratically.  

 

I have images that I stream from the database or other locations.   I wish I
could take this a bit further and place the streamed data into the tool tip.
Hopefully, in upcoming releases this will be supported and the performance
will be OK.

 

I have a Google map that works perfectly for streaming images in the tool
tip information for the markers.   It utilizes XSL to format tool tip
information.

 

- Juan

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Friday, June 02, 2006 11:56 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Tooltip Issues in Internet Explorer

 

I have custom tooltips built in a map and as part of that tooltip, an
external page is called that generates an image.  This works extremely well
in Firefox as well as the Studio preview window.  However, in Internet
Explorer I get very odd, inconsistent results.  These tooltips sometimes
work correctly, but most of the time, as you hover over a parcel, it makes
repeated calls to the server and never "holds still".  This looks an issue
with AJAX handling between the two browsers.

Here is a link to try first in Firefox and then in IE:
<http://mapguide.spatialgis.com/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a
%2f%2fSpokaneMaps%2fWeb+Layouts%2ftest.WebLayout&USERNAME=Anonymous>
http://mapguide.spatialgis.com/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%
2f%2fSpokaneMaps%2fWeb+Layouts%2ftest.WebLayout&USERNAME=Anonymous

Any help on this from Autodesk would be greatly appreciated.  Thank you. 

 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
 <http://www.SpatialGIS.com> http://www.SpatialGIS.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060602/c2fd2328/attachment.html


More information about the Mapguide_users mailing list