RE: [OpenMap Users] mouseClicked in embedded openmap

From: Blazier, Janelle <Janelle.Blazier_at_dynetics.com>
Date: Fri, 20 Mar 2009 08:02:34 -0500

Don –


I basically copied EsriPlugIn.java, renamed it, and modified it. Yes, it is in the openmap.jar file. I also edited the MouseMoved(MouseEvent) function, and it works correctly when it is in embedded.

 

Thanks!


Janelle

 

From: Don Dietrick [mailto:dfdietrick_at_gmail.com]
Sent: Thursday, March 19, 2009 9:26 PM
To: Blazier, Janelle
Cc: <openmap-users_at_bbn.com>
Subject: Re: [OpenMap Users] mouseClicked in embedded openmap

 

Hi Janelle,

 

Is the code you modified in the codebase of the applet, i.e. In the openmap.jar file?

-- Don


On Mar 19, 2009, at 6:33 PM, "Blazier, Janelle" <Janelle.Blazier_at_dynetics.com> wrote:

        I created a custom mouseClicked(MouseEvent) function for a EsriPlugIn layer, and it works fine when I run it as a stand alone GUI. However, when I embed this into a website, none of my mouse clicks are working. It’s like it doesn’t register. Does anyone know what I need to do to fix it?

         

        Here is my sample PHP code for embedding the jar file into my website, which I pulled from the demo site.

         

         

        <HTML>

        <BODY bgcolor="FFFFFF">

        <center>

        <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "800" HEIGHT = "500" >

        <PARAM NAME = "CODE" VALUE = "com.bbn.openmap.app.OpenMapApplet">

        <PARAM NAME = "CODEBASE" VALUE = "." >

        <PARAM NAME = "CACHE_OPTION" VALUE = "Plugin" >

        <PARAM NAME = "CACHE_ARCHIVE" VALUE = "openmap.jar" >

        <EMBED

        type = "application/x-java-applet;version=1.3"

        java_CODE = "com.bbn.openmap.app.OpenMapApplet"

        java_CODEBASE = "."

        WIDTH = 800

        HEIGHT = 500

        cache_option = "Plugin"

        cache_archive = "openmap.jar" >

         

        <NOEMBED>

        No Java support for applet!

        </NOEMBED>

        </EMBED>

        </OBJECT>

        </center>

        </BODY>

        </HTML>

         

        Thanks,

         

        Janelle Blazier


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Mar 20 2009 - 09:03:31 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT