Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

Page: 1 2
# bolo 4/10/2008 5:27 PM
I have finished the development of a little module that add google maps on Cuyahoga.

The module shows a google map and throught the manager you can add a list of places to be marked. Each place will have a description that will be showed in the tipical google balloon info box when the user clicks the icon marker.

If Martijn agree, i could add it to cuyahogacontrib.

As suggested in other threads, it would be usefull to have some place where we can find existing modules (svn it is a hard to novice users) with the associated description and documentation.

These could be easily archived using Cuyahoga, Each developer could have rights to edit its own node with some modules attached : StaticHtml, Downloads, Forum....

These should be enought to the most of the contrib projects.

Regards,

César.
# gedw99 4/11/2008 1:15 AM
Hey César,

Great stuff look forward to playing around with it.

ged
# bolo 4/11/2008 11:52 AM (edited 4/11/2008 11:53 AM)
gedw99Hey César,

Great stuff look forward to playing around with it.

ged

Thanks, ged

The module includes a google map control based on the one included in mojoportal. The mojo control only allows to add one place to the map so i modify it to allow a list of places instead just one.

I hope you find the module usefull.

Bests regards,

César.
# TheLonelyWolf 4/30/2008 9:25 AM
Hi :-) I create this module... plz Wait.. hm.... this module russian editor :-) you translite(a)
# hobbis 5/23/2008 11:46 AM
Can we have access to the module? I'm working on Google Map control but wiould like to use this module instead!
# bolo 6/26/2008 11:49 AM
Sorry the delay but I havent visit the forum last months so i havent seen these messages till now.

The module is attached.

Comments are welcome.

I repeat my offer to Martjin that if he agree i could add it to cuyahoga-contrib and mantain it when Cuyahoga comes with new releases.

Enjoy.

César.
# bolo 6/26/2008 11:53 AM (edited 6/26/2008 12:02 PM)
It seems that the "attach file" feature is broken in the forum.

I have uploaded the zip file here :

http://www.sendspace.com/file/oohlfr

Also, I forgot to mention that i have only created scripts for mysql. Your are welcome to create scripts for your favorite database...

Cheers...
# martijnb 6/26/2008 4:52 PM (edited 6/26/2008 4:55 PM)
Thanks a lot!

Tonight, I'll try and fix the attachments issue. Did you already have a CuyahogaContrib account btw?
# YKS 6/26/2008 5:35 PM
I like to get one too.
# bolo 6/27/2008 9:55 AM
martijnbThanks a lot!

Tonight, I'll try and fix the attachments issue. Did you already have a CuyahogaContrib account btw?

No, my sourceforge account is bolotron. Thanks, Martijn.
# martijnb 6/27/2008 3:06 PM
The module is added to CuyahogaContrib. I also created scripts for SQL Server and PostgreSQL and have done a little bit of cleaning (deleting of markers didn't work).

It's available from https://cuyahogacontrib.svn.sourceforge.net/svnroot/cuyahogacontrib/Cuyahoga.Modules.GoogleMaps .

bolo, could you please add a credits.txt file? I've seen some Mojoportal-like stuff in your code and we should mention this and give Joe the credits.
# bolo 6/27/2008 4:09 PM
martijnbThe module is added to CuyahogaContrib. I also created scripts for SQL Server and PostgreSQL and have done a little bit of cleaning (deleting of markers didn't work).

It's available from https://cuyahogacontrib.svn.sourceforge.net/svnroot/cuyahogacontrib/Cuyahoga.Modules.GoogleMaps .

bolo, could you please add a credits.txt file? I've seen some Mojoportal-like stuff in your code and we should mention this and give Joe the credits.


No problem adding the credits.txt file. The classes borrowed by googlemaps control from mojoportal mantains the credit in headers file too, so the credits are in place already.

Basically the mojo control allow only one marker in each map so i have modified it to allow a list of markers.

Thank you very much for the fix deleting markers and the sql scripts ;)

happy weekend ;)

César.
# hobbis 6/28/2008 3:02 AM
Many thanks César.

I've installed it and it's great! I too had to create mssql200 scripts for it but I will still get the latest version.

Thanks again for sharing it.
# hobbis 7/31/2008 6:53 PM
I found a very minor but which is caused by new lines and carriage returns. Anyway I fixed it by updating the GoogleMapsEdit.cs file in Web folder:

Just added a Regex to strip them out.
 protected void ButtonSave_Click(object sender, EventArgs e)
        {
            marker.Info = Regex.Replace(this.InfoEditor.Value, "\\r+\\n+", "");
            marker.Section = this.Section;
            marker.Lat = Convert.ToDouble(this.TextBoxLat.Text);
            marker.Long = Convert.ToDouble(this.TextBoxLng.Text);
            

            this._module.SavePoint(marker);
            Response.Redirect("/Modules/GoogleMaps/GoogleMapsManager.aspx" + base.GetBaseQueryString());
        }

I don't have access to update the Module directly but hope this helps.
# martijnb 7/31/2008 8:34 PM
Thanks for the heads up.

Bolo, could you take care of this?
# bigshotspicyman 8/1/2008 7:38 AM
I plugged this module in, everything works fine, except the map doesn't show up on the view control ---it's a bit funny, it shows up fine on the Edit page...what am I missing? I haven't changed anything.....just tweaked the settings on the section settings ....
# bigshotspicyman 8/2/2008 5:39 PM
a little update, I decided to install a new instance of Cuyahoga as a testbed for new modules, plugged in this Google Maps module -- it works perfectly, so it is obviously something in my other project that is messing with the display of the module...when i find out what it is, I'll post it -- it may be useful information for someone.....many thanks bolo, this will be used to plot the location of oil wells in the field in a new web app I'm finishing off....I'll post up the url when we roll out later this month....

I also have a need to run some tasks on a clock without writing a windows service, I think I'm gonna port the DNN task scheduler to run in Cuyahoga....if I end up doing that I'll upload it to the contrib area....it'll take soem customization of Cuyahoga to get it to lauch on app start.....I'm on a short schedule on this project so I'm having to modify the core on this instance to get my task to run....unless somebody has a better idea? or is there something there that I'm missing?
# hobbis 8/3/2008 9:07 PM
The symptoms of the javascript bug are that the map stops displaying becuase there are carriage returns in the javascript (from the html info box).
# martijnb 8/3/2008 9:09 PM
bigshotspicymanI also have a need to run some tasks on a clock without writing a windows service, I think I'm gonna port the DNN task scheduler to run in Cuyahoga....if I end up doing that I'll upload it to the contrib area....it'll take soem customization of Cuyahoga to get it to lauch on app start.....I'm on a short schedule on this project so I'm having to modify the core on this instance to get my task to run....unless somebody has a better idea? or is there something there that I'm missing?

See this topic for some ideas.
# bigshotspicyman 8/4/2008 2:09 AM
thanks for the reply hobbis...but this appears to be a different issue, as I said, the maps module worked after installing w/ a fresh cuyahoga install, i did go in and put some carriage returns in the info box and it did make the display not show....the difference is -- in that case nothing shows up, in my case, the "Powered By Google" icon shows up, the "zoom" control shows up, along with the credit for LeadDog and the Terms of use link...what does not show up is the map panel... I was thinking it has to be either javascript error or some css problem....I am still investigating,

btw, thanks for the regex fix on the info box.....definately needed that.
Page: 1 2