Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HELLO all

please i try to create simple form using google map offline and adding point to this map with simple database to add information about this point such as name , location , and other information

i want to create it as simple as possible , using c# and sql server as database ....

please tell me from where should i start :)

thanks alot :)
Posted
Comments
Bernhard Hiller 12-Sep-14 2:56am    
"using google map offline" - I think that Google does NOT support that!

1 solution

It is difficult to give advice not knowing the skill level you have.

Basically, you need to divide your project into smaller parts and learn how to solve each part.
Then put it all together in the end.

Something to start with:

* Define your data structure
This will be used both in your database and your c# app.

" Read and write data to and from the database
For SQL commands see SQL Tutorial[^]
DataTable[^] and DataAdapter[^] is probably the easiest way to handle the data in c#.

* Image area that can be scrolled and zoomed
In order to show a large map properly you will probably want the user to be able to scroll and zoom.
Using the PictureBox is one option PictureBox with zooming and scrolling[^]
But there are other options too: Zoom and pan a picture[^]
Knowing about GDI+ in general is a good idea Welcome to the GDI+ FAQ[^]

* Draw your data into the image area
You will need to draw your points of interest on the map.
This can be done by creating your own class that inherits from Control.
How to: Inherit from the Control Class[^]
How to: Develop a Simple Windows Forms Control[^]

This should give you a start.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900