|
Dude, then don't use it. lol. It's effing free so stop bitching. Would it be nice to have help docs, sure but your bad attitude towards this guy for not giving you documentation is BS. I swear some people expect way too much.. Here's an idea..get the code and learn it. If you're here trolling for projects to add to production software then that is your problem buddy and not the author's.
|
|
|
|
|
I couldn't agree more with you, "Member 3870100".
Radioman, thanks for your GREAT work, thanks for sharing and thanks for answering people's questions in this forum, which is part of the documentation -> I bookmarked this Codeproject page
|
|
|
|
|
|
Wow this is totally the wrong attitude and against the principles of this very website. What the author has done is make available his work. He is under no obligation to make things "easier" for you. You can sit down, look at the code, hope to learn something from it... or you can decide that it's not for you and move on. I don't see how berating his work is benefical to anyone.
|
|
|
|
|
This code is so self explanatory.
I managed to make quite deep changes to the code without even looking for documentation.
Have a nice life!!
|
|
|
|
|
Very little information and the demo does not work.
|
|
|
|
|
demos are working perfect, but codeproject article update system is via e-mail with extra dependencies of other people d{^__^}b - it's time to fly
|
|
|
|
|
I am in Hong Kong.
I can launch the program.
But the map is blank no matter I press "Reload", "GoTo!" many time.
|
|
|
|
|
no, it's because some stupid moderator locked my own article ;{ and i can't update my own demo, so you must go to the codeplex site and check it out peace & serenity
|
|
|
|
|
Hi radioman.It,
Thanks for your article. We have a server-client application. We r downloading some locations from server to client and showing google map on client ( wpf application). Locations are shown as markers and when user click on marker, streetView is shown.
Everything is working fine. I added zoom functionality for the streetView by adjusting z coordinate of location property of PerspectiveCamera.
Your article was a huge huge help, otherwise I will have to use webBrowser control.
Thanks,
Veena
|
|
|
|
|
happy to hear it
peace & serenity
|
|
|
|
|
Hi radioman.lt,
Thanks for all your help.
Is there any way, we can add StreetView functionality using GMap.net.
Thanks,
Veena
|
|
|
|
|
there is testing project using wpf in svn
peace & serenity
|
|
|
|
|
I am so sorry, Now I found it.
Thanks,
Veena
|
|
|
|
|
Hi,
I am interersted in getting direction from one marker to another.
Can not figure out how to do that?
Thanks
Veena
|
|
|
|
|
there is patch for directions in cp
peace & serenity
|
|
|
|
|
|
First of all thank you for such a good article and project.
Can you please look at the below error in the code
Error in the file Gmap.cs and method name is GetRouteBetweenPointsKmlUrl
Error Line XmlSerializer serializer = new XmlSerializer(typeof(KmlType));
Complete error message
"System.InvalidOperationException: There was an error reflecting type 'KmlType'. ---> System.InvalidOperationException: There was an error reflecting property 'NetworkLinkControl'. ---> System.InvalidOperationException: There was an error reflecting type 'NetworkLinkControlType'. ---> System.InvalidOperationException: There was an error reflecting property 'Update'. ---> System.InvalidOperationException: There was an error reflecting type 'UpdateType'. ---> System.InvalidOperationException: There was an error reflecting property 'Items'. ---> System.InvalidOperationException: There was an error reflecting type 'DeleteType'. ---> System.InvalidOperationException: There was an error reflecting property 'Items'. ---> System.InvalidOperationException: There was an error reflecting type 'NetworkLinkType'. ---> System.InvalidOperationException: There was an error reflecting property 'Item'. ---> System.InvalidOperationException: Member NetworkLinkType.Item of type LinkType hides base class member AbstractFeatureType
.Item of type System.Object. Use XmlElementAttribute or XmlAttributeAttribute to specify a new name.\r\n at System.Xml.Serialization.StructMapping.FindDeclaringMapping(MemberMapping member, StructMapping& declaringMapping, String parent)\r\n at System.Xml.Serialization.StructMapping.Declares(MemberMapping member, String parent)\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns,
ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportFieldMapping(StructModel parent, FieldModel model, XmlAttributes a, String ns, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n
at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolea
n rpc, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportFieldMapping(StructModel parent, FieldModel model, XmlAttributes a, String ns, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limit
er)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportFieldMapping(StructModel parent, FieldModel model, XmlAttributes a, String ns, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel mod
el, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportF
ieldMapping(StructModel parent, FieldModel model, XmlAttributes a, String ns, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n --- End of inner exception stack trace ---\r\n at System.Xml.Serialization.XmlReflectionImporter.Import
TypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportElement(TypeModel model, XmlRootAttribute root, String defaultNamespace, RecursionLimiter limiter)\r\n at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)\r\n at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)\r\n at System.Xml.Serialization.XmlSerializer..ctor(Type type)\r\n at GMap.NET.GMaps.GetRouteBetweenPointsKmlUrl(String url) in \\Trunk\\GMap.NET.Core\\GMap.NET\\GMaps.cs:line 903"
modified on Thursday, August 27, 2009 3:55 AM
|
|
|
|
|
the original Serializer do not work as expected, it is know issue, you can look at patch page there is manual deserializator for that now
peace & serenity
|
|
|
|
|
Thank you for your replay. I am using KMLRoute.cs for routing the locations from the patch.
|
|
|
|
|
Hay Dear,
Thank you for share such a good article. I am working with GMap and every time i load a map in gmapcontrol it will give me an error "we are sorry, but we don't have imagery at this Zoom level for this region".
Please help me out i tried both windows and wfp.
Thankx
Kashif Usman
|
|
|
|
|
use newest version in codeplex, i can't udpade demo in this article because of stupid moderators, they locked my article, is it still my article or theirs?
peace & serenity
|
|
|
|
|
thanks and don't worry its still yours. I will check on codeplex.
|
|
|
|
|
Hi,
I got the control working on a form just fine no problems. What I wanted to do was create a mapping Service that runs on a server as a service. This means using a GMAP object in a class that is not a form; The idea is that the GMAP object writes to a bitmap and I send this to my clients.
The completed event is hooked up to TileLoadCompleted event. When using the GMAP without a form, the events do not fire and the map is black.
I tried everything I can think of, even making sure that I am running the StartUp code that runs on the On_Load event of the GMAP_4 windows Forms code. This still doesn't work.
What do I need to do to make it go get the map? Maybe I need to write my own wrapper for the core? I was hoping to use the GMAP Forms without modification.
|
|
|
|
|
i shall investigate in that
peace & serenity
|
|
|
|
|