Coder Social home page Coder Social logo

greatmaps's Introduction


...mission is in progress, great maps helps greatly! ;} ...real FLAT EARTH maps are missing though, no ANTARCTICA maps either.


GMap.NET is great and Powerful, Free, cross platform, open source .NET control. Enable use routing, geocoding, directions and maps from Coogle, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, OviMap, CloudMade, WikiMapia, MapQuest in Windows Forms & Presentation, supports caching and runs on windows mobile!

greatmaps's People

Contributors

badhitman avatar galakt avatar gustingonzalez avatar jelinj8 avatar justeblanc avatar kevinhu12345 avatar lausdahl avatar luxiaoxun avatar radioman avatar tom-dudley avatar w0mby avatar zoltyvigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

greatmaps's Issues

Solved - Markers

Hi,

I'm creating a program for testing and comparing Satellite receivers and have been using Gmap.Net quite sucessfully.

Now I'd like to add a feature whereby I add a round/square marker (the colour will vary by the number of satellites being tracked) to display the route driven.

i.e
3 or less satellites the markers would be red
4 to 10 satellites the markers would be orange
11 to 15 satellites they would be yellow
16+ satellites they would be green

An example of what I mean can be seen in the picture below.
example

With the current markers in Gmap it looks like this:
current google markers
Which is kinda naff looking.

Is there a way to add plain round markers that can have their colours changed?

Thanks

Adam

UI stucked when map is loading

I use GMap.net in a wpf app,and I find that the UI will be stucked when map is loading.Is there any way to solve this??

Google routing

Few days ago .GoogleMapProvider.Instance.GetRoute stopped working.
Any ideas?

The only working provider for routing (for me) is OpenStreetMapProvider.Instance.GetRoute

Also bing and yahoo don't seem to work any more.

WPF Dragging issue

I noticed a bug with the drag action of the Map, after opening a new Window and closing, it starts dragging automatically just by moving the Mouse over the map.
I could debug GMapControl.cs and there's an "if" on OnMouseMove method that checks if "cursor has moved beyond drag tolerance", this check calls "Core.BeginDrag" even if the user is not dragging the Map.

Note: I am working on a Pull Request.

Thanks

Draw marker position relative to the shape RenderTransformOrigin

I'm using Gmap.NET WPF and I'm trying to understand how to draw my custom marker in order to match the map point with the bottom mid shape point.

Clicking on my map, I create a new marker on the mouse position but the marker is drawn starting from the top left corner of my custom shape:
2016-12-05 19_28_43-great 2 0

I would like to draw the marker using the RenderTransforOrigin as pivot, in order to put the marker shape in the correct position like that:
2016-12-05 19_35_55-great 2 0

Marker XAML:

<Rectangle x:Name="rectangle" Width="18" Height="26" Cursor="Hand" RenderTransformOrigin="0.5,1">
	<Rectangle.Fill>
		<ImageBrush x:Name="MarkerImage" Stretch="None"/>
	</Rectangle.Fill>            
</Rectangle>

What can I do for doing that?

Get an overlay ion one request

Is it possible to implement the possibility to get an overlay in one request?
I have a provider, that breaks the labels if I pull every map matrix element for himself.

I can get the background in multiple requests splitted in the tile matrix.
I want to get other layers in another like GoogleHybridMapProvider.
But I need to get the overlay (for streetlabels, POIs and so on) in one request. Not splitted in a Martrix.
Regards,

Christian.

OpenStreetMap Error 403

Hello. I recently received this error when trying to use OpenStreetMap provider and was able to fix it by setting UserAgent = NULL in the source code.
I hope this post will be useful, before the author will fix the problem.

WPF Demo GUI issue

The GUI has a problem. The right dock bar doesn't fit in my desktop and there is not a scroll bar!

Gmap Issue

Tiles not loading at a certain zoom level

Hi.

I'm using the WPF control with BingSatelliteMapProvider. When I initialize the control with zoom level <= 19, the map works perfectly. But when I do it with zoom >= 20, the tiles won't load. Unless you zoom out one level and then zoom in again. This is probably due to the max zoom level of Bing Maps API. At a certain level, it stops giving the response.

Can I derive a new class from BingSatelliteMapProvider and add a hackish routine that checks if the zoom level is 20+, it gives the scaled up version of level 19. If so, can you give any pointers?

Thanks.

CC: @radioman

GMap.NET MVVM

I would like to add an GMap.NET control to my WPF MVVM application. However I am new in MVVM and I do not know how to manage (add markers, changing map provider) my control without reference to its name from View.
For now on I'm doing it like that:
gmap.MapProvider = GMap.NET.MapProviders.GoogleMapProvider.Instance; GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerOnly; gmap.DragButton = MouseButton.Left; gmap.SetPositionByKeywords("Paris, France"); gmap.ShowCenter = false;
but how to adjust it to MVVM? I will be grateful for solutions, links, references, etc...

[EDIT] For now on I've came up with an idea to create all GMap.NET control in ViewModel and bind whole control like: <UserControl Content="{Binding GMapC}"/>

[question] What is the most `legal` choice of map provider supported by gmap?

This is really wonderful library, I would like to use it iny my next project.

I've read some legal flames with yandex/google on codeplex forum :-) Nice reading :)

However, is there some safest option from the list? Openstreetmaps does not work (server returned forbidden). And I would like avoid legal battle with google or other companies.

My usage would be small, probably up to 100 tiles downloaded per day (by different users though, but displaying map is not core feature of the application so it will be rarely used).

how to draw a line or polygon when mouse move

now i just click the map and add points to draw line or polygon,but i want to draw line when mouse move,just like the greatmaps self has a function,hold ALT button and use mouse's right button and move to draw a rectangle,how to do like that?

Split the gmap.net database

I have been using this great program for a few months and now i have a very large database in my app. Can anyone help me how to extract / split a small location database cache from a very large gmdb database...

Crash with log4net

I had a correct program with Gmap.Net. But if I add a log4net's logFileAppender in config file, there is a System.TypeInitializationException in new GMap.NET.WindowsForms.GMapControl().

Using single Bitmap as map source

Is there a way to use a single large image as a map source? I am looking for a map provider that uses a single image, lat/lon, zoom, and bearing.

Alternate idea

Is there a way to convert a single image into a set of map tiles that can be picked by maps? I came across MapTiler, but it is paid and close-sourced.

Marker disappear after change tab

Hi everyone,

I would ask if anybody has similar issue as i am having

I use a GmapControl in a main tab, it working fine if I don't change tab page. Whenever I switch tab page and switch back to map tap, all markers disappear, but the new marker add after switch back they still display fine?

Sorry if this duplicate with other issue?

Commercial Use/Terms Agreements

I have done a lot of research and a majority of what I have found is a few years old. Is there any update in regards to using any of the providers in a commercial application (for profit)? This is by far the best framework that I have worked with. I hope it continues to grow. My only concern is that if I was to publish an application to the market, what issues I would be dealing with. I am fully aware of the articles and posts online about this a few years ago, however I am not fully understanding of the innerworkings of the framework.

Just looking for some insight...

Keep up the great work.

can't enter the provider

i give the mapControl a provider, mapControl.provider = XXXX.instance

but when i debug,the code can't enter the provider's PureImage function,and the tile can't be load,what's wrong?

A few more features

This is a great open source library and application. Thank you for that. But a few enhancement would make the demo application even better and comparable to its counterparts e.g. Marble.

  • bookmarks
  • routing turn by turn textual result
  • default extent (home)
  • search suggestion once search query entered
  • select geocoding engine (google, OSM, ...)
  • select routing engine (google, ...)

I will try to add these features in future as soon as I got the time. Any feedback is appreciated.
Thanks

WPF - Virtual member call in GMapRoute constructor

In WPF GMapRoute constructor exists call to virtual RegenerateShape, it looks very odd.
Now if i create an new instance of class, derived from GMapRoute, RegenerateShape with null parameter will be called before new class constructor.

Fractional Zoom using WinForms version

It appears the fractional zoom capability is not working as stated in the code itself. I have attempted to resolve this for a few days now with no luck. Although it works fine when zooming from a 'centered' location, once the map is panned a little and then I attempt to zoom in (with fractional zoom on) the map appears to be off center until the zoom level reaches a whole number again, at which point it gets centered to the correct location.

Does anyone have any insight on how to resolve this? I suspect the fix is in the DrawGraphics method, but I still have a long way to go to understand how the Core.renderOffset is utilized in order to resolve the problem itself.

Plans to add GraphHopper?

I would love to see graphhopper support an open source route planner based on OpenStreetMap data. Feel free to ping me to get a free api key of our API to integrate it.

WPF - Pinch Zoom

Is there any plans to implement pinch zoom? This is something I need and have implemented this locally in our team fork and was hoping I could merge that change back here since it could be useful for other projects out there. If this is something that could be used in the main repo I can create a pull request.

Nuget Version Update

The latest version on Nuget is version 1.7.1 which is from 2015, is there plans to update to the latest version? We are using the nuget package and need to update to the latest version and can no longer use nuget because it is out of date

MouseDoubleClick event trigger the MouseClick event and so on

when i double click the mapcontrol the event trigger order is
mouse down --> mouse click --> mouse up --> mouse down --> mouse double click --> mouse up
i just want trigger the "double click" event but i still need other event ,how to do that?

Updating marker's image

Hi.
I want to update the marker's image after I add it. I tried to change location of the marker and it is OK but image is marker's public property. How can I solve this problem. I need to change the icon image continously. For example I need to rotate an airplane icon.
Thanks...

GMap.NET.Core couldn't build with .NET4

GMap.NET.Core couldn't build with .NET4
The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)
But, .NET2 could build successed.

Add route doesn´t work

When you set start and end point and click on Add Route, it doesn´t work, it mounts a url which return code 404 from google.

Click on Polygon by Coordinates

Is there a code to tell the map to click on the top most polygon on the map control using coordinates.
Or a way when we place a marker to tell it to click on that marker?

Thanks.

Support for Ground/Bitmap overlays

TL;DR

Is there any support for something like GroundOverlay in GMap.net?

Description

I need to put some simple bitmaps on my map, without using any custom map provider. Is there any built-in support for this? If not, then is there any hack?

Update nuget package to latest tag

It looks like the latest package on nuget is 1.7.1 from 1/17/2015. However the latest release in this repo is GreatMaps-v2015.23 from 12/29/2015.

Custom tooltips

It is an excellent library, there is some way that the tooltip can be added images and tables as the following example.
pantalla

Thank you

Toggling IsHitTestVisible while m.IsMouseOver does not fire OnMarkerLeave event

If the mouse is currently over a marker and then IsHitTestVisible is set to false on that marker, the OnMarkerLeave event is never fired and marker.IsMouseOver stays true. Additionally, this permanently locks the cursor to be a hand. Expected behavior is that when IsHitTestVisible is switched to false, the OnMarkerLeave event will be fired if IsMouseOver was previously set to true.

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.