Git Product home page Git Product logo

winforms-geplugin-control-library's People

Contributors

fraserchapman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

winforms-geplugin-control-library's Issues

Viewchange events not being raised in C# Options

What steps will reproduce the problem?
1.Attach a listener for any on of the viewchange events
2.Run the app
3.Change the view
4.the event is not being raised

What is the expected output? What do you see instead?
Expect the event to be raised once the event has been attached

What version of the product are you using? On what operating system?
Vista 64

Please provide any additional information below.
For some reason the view change events are not being raised in my c# 
code. I hook them up as follows; 

this.InvokeJavascript("jsAddEventListener",new object[] { (_ge.getView 
(), "viewchangeend"}); 

My listener is as follows; 

private void geWebBrowser1_KmlEvent(object sender, GEEventArgs e) 
{ 
bla bla bla 
} 

I am able to receive mouse events just not the viewchange events. I 
know this is a new feature but I have checked and seem to have up to 
date versions of everything. 

Original issue reported on code.google.com by [email protected] on 3 Nov 2009 at 10:16

Various updates that allow synchronous fetching of Kml for resolving networklinks.

*) Correct spelling of Handler
*) Replaced LoadKmlCallback with more generic InvokeCallBack allowing
JScript to decide which .Net callback to call.
*) Add Tag property to GEEventArgs  
*) Changed OnKmlLoaded signature to use new GEEventArgs Tag property to aid
call of InvokeCallback.
*) Added some COM Helper methids found from MSDN blog.
*) Added OnKmlFetched along with Thread Handle locking and KmlObject Cache.
*) Added FetchKmlSynchronous that returns a IKmlObject without adding to
GEWebBrowser instance. This helps resolve NetworkLinks.
*) Added additional parameter to LookAt so it can access GEWebBrowser
instance to call new FetchKmlSynchronous.
*) Allow LookAt to look inside NetworkLinks for AbstractViews.
*) Refactored LookAt.
*) Removed throw from GEStatusStrip when getStreamingPercent occasionally
throws COM exception.
*) Removed requirement in FetchKml that disallows paths ending in kml/kmz.
This inhibits using CGI scripts as kml sources.
*) Added ParseKml method that will render Kml string.
*) Updated JScript to use new createCallback function.


All these will help further development resolving network links.

Original issue reported on code.google.com by [email protected] on 21 Oct 2009 at 12:44

Attachments:

Patch to allow exception types from JScript and networklink names

This patch adds exception type to be passed from JScripts callback
function. This allows one to selectively process exceptions without needing
to parse strings for words.

The patch also defaults the name of a networklink's node the name provided
in the KML (like in GE) rather than the type name if the link cannot be
resolved.

Original issue reported on code.google.com by [email protected] on 15 Jan 2010 at 4:41

Attachments:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt

What steps will reproduce the problem?
1. Compile the FC.GEPluginCtrls
2. Embed it my application
3. Run outside of VS 2010

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Visual Studio 2010

Please provide any additional information below.

Hi when I compile the FC.GEPluginCtrls and use it my application, I get the 
following error when running out side of Visual Studio 2010

"Attempted to read or write protected memory. This is often an indication that 
other memory is corrupt"

Original issue reported on code.google.com by [email protected] on 28 Jun 2010 at 1:24

Patch to Support NetworkLinks

This patch adds support for NetworkLinks.

It includes a previous patch that fixes folder expansion mentioned in
earlier issue.

It uses a previous applied patch that allows fetching of kmlobjects via the
geplugin.

Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 12:29

Attachments:

Cannot access local KML file

What steps will reproduce the problem?
1. Try loading a file from the local machine rather than from a URL

What is the expected output? What do you see instead?
Local KML file should load, it doesn't.

What version of the product are you using? On what operating system?
Latest source, Vista

Please provide any additional information below.
I know this may not really be a bug, but for any practical use, a WinForms 
control really needs access to local files. Do you have a way of allowing 
the webBrowser control to access local KML files? Great control otherwise 
though - good work  :-)

Original issue reported on code.google.com by [email protected] on 10 Oct 2009 at 10:35

Refresh after FetchKmlLocal causes threading exception

What steps will reproduce the problem?
1. Attempt to use Refresh after FetchKmlLocal.

What is the expected output? What do you see instead?
The kml file to refresh. An exception

NB:

Comment by joshua2519, Dec 01 (Dear fraser: I found a bug with 
FetchKmlLocal?(). when I fetch a local kml file, Refresh button will not 
reload the kml file. beacaue the kml File has been read by a thread.

I fixed this bug by adding a argument, FileShare?.Read in FetchKmlLocal?() 
show below FileStream? stream = File.Open(path, FileMode?.Open, FileAccess?
.Read, FileShare?.Read);

Original issue reported on code.google.com by [email protected] on 4 Dec 2009 at 12:41

If KmlFolder has no ownerdocument fails to load subtree

This patch really just fixes an edge case of an earlier path.

It checks that the obj.getOwnerDocument() call does not return null. It
also reverses the logic in that if it is null it will default to parsing
the kml container rather than nothing.

Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 11:47

Patch to allow setting port number in HTTP server class

This patch adds a public property that sets or gets the tcp port to listen
on server startup. If a port number of zero is provided then the next
available tcp port assigned by Windows is chosen. The assigned port number
is then available through the public port property.

Original issue reported on code.google.com by [email protected] on 25 Jan 2010 at 3:27

Attachments:

FetchKmlLocal does not close handle to file

What steps will reproduce the problem?
1. Open local kml file with GEToolStrip
2. Click the reset button
3. Try to open the same kml file

ie = 6.0.2900.3676
api = 1.004
plugin = 5.2.0.5920

Inspection of the code reveals that FetchKmlLocal does not close the 
FileStream.

Original issue reported on code.google.com by [email protected] on 28 Apr 2010 at 8:04

revision 162 introduces geplugin race condition crashes

What steps will reproduce the problem?
1. open attached project.
2. copy test.kmz file to local or other http server
3. adjust project to reflect new kmz url
4. run project in debug mode

What is the expected output? What do you see instead?

A windows form should appear showing the relevant kmz file in the geplugin
window. What happens is the geplugin crashes approximately 50% of the time
on several PCs tested. The bug appears to be a race condition in geplugin
introduced by the new javascript event handling code from svn revision 162.
You may need to re-run the project 10 times to get a feel on how often the
crash occurs.

What version of the product are you using? On what operating system?

Revision 162 and greater. Windows Xp 32 bit / latest service packs.

Please provide any additional information below.

Attached is a screen shot of a typical crash.

Original issue reported on code.google.com by [email protected] on 26 Jan 2010 at 2:30

Attachments:

How can browse control be ported to Silverlight 3?

It works fine as a winform. I am wondering what should be changed to port 
browse control to Silverlight 3. Basically you can't reference browse 
control assembly directly in silverlight.

I know there is a MS silverlight map control which only works with VE. I 
think GE plugin silverlight control will benefit a lot.

Please guide. Thanks!

Original issue reported on code.google.com by [email protected] on 23 Sep 2009 at 9:46

Suggested enhancement to allow left or right alignment of GEToolStrip items

I wanted to line up my tool strip items on the right.  I implemented a 
property (toolStipItemsAligment) in GEToolStrip.cs to enable this feature.  I 
wanted to share this work as I think it is a nice feature and has a somewhat 
unique solution.  Attached are my local copies of GEToolStrip.cs and 
GEToolStrip.Designer.cs


Original issue reported on code.google.com by [email protected] on 28 Apr 2010 at 8:13

Attachments:

Black Screen on the right panel

What steps will reproduce the problem?
1. down load and unzip FC.GEPluginCtrls_2.zip 
2. ran WindowsFormsApplication1.exe
3.

What is the expected output? What do you see instead?

Same as screen capture on the web page. Instead, I see Black Screen on the 
right.
What version of the product are you using? On what operating system?
I ran this on Windows XP

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Jan 2009 at 7:49

Add new PluginReady2 event handler that can be used from other threads/classes

The existing PluginReady event handler sends the GE COM object as the sender. 

Normally one would wait for a PluginReady event to run the LoadKml on "this". 

However, if you are instantiate a GeWebBroswer class and set it's
PluginReady event handler to load some KML then this is impossible unless
you are local in the class.

public void showInGoogleEarth()
{
    ...

    GEWebBrowser browser = new GEWebBrowser()
    ...
    browser.PluginReady += new
GEWebBrowserEventHandeler(GEDisplayViewBrowser_PluginReady);

}

private void GEDisplayViewBrowser_PluginReady(object sender, GEEventArgs e)
{

    // sender here is of type IGEPlugin. unfortunately, this can't use the
GeWebBrowser 
    // helper methods..
    // so a better approach is to send "this" to this handler, then you can
do this: -
    GEWebBrowser browser = (GEWebBrowser)sender;
    browser.FetchKml("http://some/path/to/kml");
}

The attached patch doesn't change the existing handler but creates a new
one called PluginReady2 that can be used in the above way.

Original issue reported on code.google.com by [email protected] on 30 Sep 2009 at 9:38

Attachments:

Can't View result on geWebBrowser

What steps will reproduce the problem?
1.download FC[1].GEPluginCtrls_5
2.download Google Earth Plugin
3.rebuild FC.GEPluginCtrls solution

What is the expected output? What do you see instead?
I can see the tree view when i ran WindowsFormsApplicationDragExample 
application, but I could not see anything on geWebBrowser1.

What version of the product are you using? On what operating system?

Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Jun 2009 at 1:37

Getting Latitude and Longitude

What steps will reproduce the problem?
1. Get the Latitude and Longitude from Google Earth
2. Refer link http://groups.google.com/group/kml-support/web/c-how-to-get-
geocoords-into-your-own-app-from-mouse-clicks-in-the-ge-ui?version=17


What is the expected output? What do you see instead?
The Latitude and Longitude I'm getting are not exact. I want exact values 
because a polygon needs to be drawn on using that fetched latLong values.

What version of the product are you using? On what operating system?
Version - 5.0.11337.1968 (beta)
Operating System - Microsoft Windows XP (Service Pack 2)

Please provide any additional information below.
I am using C# for accomplishing above task in Windows application.

Please suggest.


Original issue reported on code.google.com by [email protected] on 20 Mar 2009 at 8:59

Comparison with COM API

[not really an issue as such]

How would you compare this with the Google Earth COM API?
http://earth.google.com/comapi/index.html 

Given VS kicks out a PIA for this, isn't that all the managed code wrapper 
we need?

Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 3:48

Exception thrwon at the initialization.

What steps will reproduce the problem?
1.
Run the Program with 5.0 plugin.
2.
stop at geplugin.getapiversion() at GEWEBBRWOSER.
Exception thrown.

What version of the product are you using? On what operating system?
5.0 PLUGIN, WINDOWS VISTA, IE 8

Please provide any additional information below.
I traced the var, and found that the some problems with GEPLUGIN:I use the 
debug tool the check the property of GEPLUGIN, It crash at "LAYER_ROADS".
I used other PLUGIN.HTM I found from other sites, then No problem. But of 
course, I cannot have the functionality of the project.



Original issue reported on code.google.com by [email protected] on 5 Apr 2009 at 5:49

ImageryBase appears to be missing

I'm new here and am attempting to recompile the project and am getting a 
type not found error on ImageryBase.

Great control-set by the way. Just what I was looking for.

Original issue reported on code.google.com by [email protected] on 25 Oct 2009 at 8:08

<href> tag in IconStyle not working with local files

What steps will reproduce the problem?
1.Use a KML file with an IconStyle referring to a local file icon like this:

<Style id="AirportStyle">
      <IconStyle>
        <color>FFAACD66</color>
        <colormode>normal</colormode>
        <Icon>
          <href>V:\WORK\AppTest\Config\Symbols\AIRPORT.png</href>
        </Icon>
      </IconStyle>

2. This file works in Google Earth, but not with the plugin, I guess that's
because of the file / url difference 
3. With URLs the icon is found normally

What is the expected output? What do you see instead?
I'd expect to see the icon (taken from the local file). Maybe it's the same
difference as FetchKml and FetchKmlLocal

What version of the product are you using? On what operating system?
Latest source code, win XP pro

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Oct 2009 at 8:33

PluginReady event not firing on Windows7

The GEWebBrowser PluginReady event doesn't seem to fire for me on Windows7.
Using the latest GEPluginCtrls and lasted TTGEPlugin, the event ever fires 
after calling LoadEmbededPlugin()..


Original issue reported on code.google.com by [email protected] on 30 Mar 2010 at 1:16

Function IntermediatePoint changes origin

What steps will reproduce the problem?
1. Call IntermediatePoint passing in an origin point
2. Both the return value and origin are now the same value
3.

What is the expected output? What do you see instead?
The origin parameter should not be changed

What version of the product are you using? On what operating system?
Vista 64

Please provide any additional information below.
The error occurs in this line;

IKmlPoint result = origin;

Since the "origin" parm is passed by ref, changes to the "result" object 
will change the "origin" object

This is likely a kludge to get around the fact that you cannot create a 
IKmlPoint without the IGEPlugin object. The method should be changed to 
either take a IKmlPoint output parm, or add a IGEPlugin parm to the 
method. The latter is what I am doing with my static methods. 
Alternatively you could potentially add this as an extension method to 
IGEPlugin.

Original issue reported on code.google.com by [email protected] on 1 Nov 2009 at 6:12

KmlTreeView does not auto check sub nodes

What steps will reproduce the problem?
1. Check a root node
2. Notice child nodes don't auto check

What is the expected output? What do you see instead?
1. When checking a root object, I would think all sub nodes should also be 
checked / unchecked. If not, a user may have to check 10s or even 100s of 
boxes to get it all showing again.

What version of the product are you using? On what operating system?
Latest, Vista / XP

Please provide any additional information below.
Hey again!  :-D
I am having a problem with my application - users will be very frustrated 
if they have to click 10s / 100s boxes to get all placemarks back. I have 
tried checking them programmatically, but I keep getting a stack overflow 
exception due to CheckAllParentNodes() method. I tried this below, but 
obviously it doesn't help, because the features don't get turned on / 
off  :-)

this.AfterCheck -= new TreeViewEventHandler(KmlTree_AfterCheck);
foreach (TreeNode node in e.Node.Nodes)
{
    node.Checked = true;
}
this.AfterCheck += new TreeViewEventHandler(KmlTree_AfterCheck);

Any ideas?  :-)

Original issue reported on code.google.com by [email protected] on 12 Oct 2009 at 3:19

FC.GEPluginCtrls.csproj not in sync with folder structure

In latest SVN, trunk/FC.GEPluginCtrls.csproj shows External.cs under
Interfaces folder. i.e.

{{{
  <ItemGroup>
...
    <Compile Include="Interfaces\External.cs" />
}}} 

However, it really sites directly under trunk, i.e. trunk/External.cs

Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 11:07

Fail to load the GE Plugin on Windows XP x64

What steps will reproduce the problem?
1. Downloaded FC.GEPluginCtrls_3.zip
2. Run WindowsFormsApplication1.exe
3.

What is the expected output? What do you see instead?
The GE plugin is not loaded. Instead, I get the following error message:
"FC.GEPluginCtrls \n Plugin failed to load".

What version of the product are you using? On what operating system?
GE version: 5.0.11337.1968 (beta)
GE Plugin version: 1.2.141.5 (same file version as GE)
OS: Microsoft Windows XP x64

Please provide any additional information below.
From what I could see, the crash happens within the 
'google.earth.createInstance("map3d", initCallback, failureCallback)'
javascript call, within the init() function.


Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 10:11

Attachments:

Maths.Destination does not seem to work

What steps will reproduce the problem?
1. When I use Maths.Destination to calculate a point I end up on the other 
side of the planet

What is the expected output? What do you see instead?
I enter data to move from Niagara Falls 100 metres north but I end up in 
France

What version of the product are you using? On what operating system?
Running on vista 64

Please provide any additional information below.
Heres the code;

      GEHitTestResultCoClass result = this._ge.getView().hitTest
(this._selectedArea.Center.X, this._ge.UNITS_PIXELS, 
this._selectedArea.Center.Y, this._ge.UNITS_PIXELS, 
this._ge.HIT_TEST_GLOBE);
      IKmlPoint point = this._ge.createPoint("");
      point.setLatitude(result.getLatitude());
      point.setLongitude(result.getLongitude());
      IKmlPoint destination = Maths.Destination(point, 0, 100);
      GEHelpers.LookAt(this._ge, destination.getLatitude(), 
destination.getLongitude());

Original issue reported on code.google.com by [email protected] on 31 Oct 2009 at 2:09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.