So my first mission is to get some logic that has already been coded, working with Ajax.Net. I have been able to "ajax" the page, breaking the map.
Here's the setup:
I have a google map with three checkboxes all in an updatepanel. Since by default every component in the updatepanel is monitored for auto refresh, I am not setting any triggers.
The problem seems to be that when I click on one of those checkboxes to modify the map output, using the WCPierce google maps API .Net control, the map completely disappears and it requires a manual refresh to bring the map back up. So a postback is required to get the map to show back up. I do not understand why this is happening..
more to follow I'm sure.
somethings from codeland
Wednesday, November 01, 2006
Friday, October 27, 2006
more on google maps
So I decided to do this instead of making a doc on my google account..
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map
more on google maps
So I decided to do this instead of making a doc on my google account..
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map.
you can add listeners (as demonstrated above) or bind them:
function MyApplication() {
this.counter = 0;
this.map = new GMap2(document.getElementById("map"));
this.map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.bind(this.map, "click", this, this.onMapClick);
}
MyApplication.prototype.onMapClick = function() {
this.counter++;
alert("You have clicked the map " + this.counter + " " +
(this.counter == 1 ?"time" : "times"));
}
var application = new MyApplication();
onMapClick is a method that is bound to the event listener for this particular map (this particular instance of GMap2)
Here we go:
GMap2 api reference
every time a new instance of GMap2 is created another map is displayed on the screen.
So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
this will show a popup screen that says "You clicked the map." every time the user clicks the map.
you can add listeners (as demonstrated above) or bind them:
function MyApplication() {
this.counter = 0;
this.map = new GMap2(document.getElementById("map"));
this.map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.bind(this.map, "click", this, this.onMapClick);
}
MyApplication.prototype.onMapClick = function() {
this.counter++;
alert("You have clicked the map " + this.counter + " " +
(this.counter == 1 ?"time" : "times"));
}
var application = new MyApplication();
onMapClick is a method that is bound to the event listener for this particular map (this particular instance of GMap2)
Wednesday, October 25, 2006
Back on Blogger
So there are all these blogs out there on various topics written by people with the intention of helping others. That's not my aim. I plan to use this as an open place to think, and if you find that the links are useful, then have at them..
I did want to say that I was recently inspired by the programming “Jedi” behind AnAppaDay.com. His new dedicated website is thesoftwarejedi.com
I am starting on AJAX on .net 2.0 at work this week, so I'll be going through the books on torrent sites, and working my way through I'm sure somewhere around 20 intro apps. We're integrating with Google maps, but the guys started writing logic without following up with some AJAX to keep the map “alive” after the logic is applied. I think its mainly markers, maybe directions right now. I think eventually the plan is to display full routes with actual routes taken (recorded via GPS) overlaid. So, this should be an interesting project to work on.
So for starters, here are my links that I’m checking out right now:
ASP.Net Ajax -- Atlas
Atlas docs -- ASP.NET docs
Atlas forums --
Google maps API -- Get API key
Google maps API docs -- documentation
I did want to say that I was recently inspired by the programming “Jedi” behind AnAppaDay.com. His new dedicated website is thesoftwarejedi.com
I am starting on AJAX on .net 2.0 at work this week, so I'll be going through the books on torrent sites, and working my way through I'm sure somewhere around 20 intro apps. We're integrating with Google maps, but the guys started writing logic without following up with some AJAX to keep the map “alive” after the logic is applied. I think its mainly markers, maybe directions right now. I think eventually the plan is to display full routes with actual routes taken (recorded via GPS) overlaid. So, this should be an interesting project to work on.
So for starters, here are my links that I’m checking out right now:
ASP.Net Ajax -- Atlas
Atlas docs -- ASP.NET docs
Atlas forums --
Google maps API -- Get API key
Google maps API docs -- documentation
Wednesday, March 01, 2006
Tuesday, February 28, 2006
Monday, February 27, 2006
Oracle Java Books list
Best Practices exception handling
Building Database-driven Applications with JSF
Oracle resource list
Best Practices exception handling
Building Database-driven Applications with JSF
Oracle resource list
Saturday, February 25, 2006
Friday, February 24, 2006
Thursday, February 23, 2006
Tuesday, February 21, 2006
Monday, February 20, 2006
ZenCart not friendly with MySQL 5
Difficulties with backend database connection in ZenCart
1054 Unknown column 'p.products_id' in 'on clause'
mysql forum
apparently zencart does not play well with the syntax standards of MySQL 5. So 4.1 downgrade required. Not too bad I suppose. Just have to make sure hosting options comply with what we need...
1054 Unknown column 'p.products_id' in 'on clause'
mysql forum
apparently zencart does not play well with the syntax standards of MySQL 5. So 4.1 downgrade required. Not too bad I suppose. Just have to make sure hosting options comply with what we need...
Sunday, February 19, 2006
Sorting Algorithms
http://linux.wku.edu/~lamonml/algor/sort/sort.html
Covers:
Bubble sort
Heap sort
Insertion sort
Merge sort
Quick sort
Selection sort
Shell sort
Covers:
Bubble sort
Heap sort
Insertion sort
Merge sort
Quick sort
Selection sort
Shell sort
Thinking like a computer scientist (general programming how to)
How to think like a computer scientist. link
Saturday, February 18, 2006
Guide to Install Compiz and XGL on Ubuntu Linux
http://www.ubuntuforums.org/showthread.php?t=131267
very much in testing beta. but oh so cool
http://linuxeyecandy.blogspot.com/
This site should get more and more interesting as open source starts to close in on Microsoft's proprietary markup...
State of the linux desktop. Link
very much in testing beta. but oh so cool
http://linuxeyecandy.blogspot.com/
This site should get more and more interesting as open source starts to close in on Microsoft's proprietary markup...
State of the linux desktop. Link
Wednesday, February 15, 2006
W32 codecs for ubuntu
http://ubuntu.wordpress.com/2005/12/04/libdvdcss2-and-w32codecs-for-ubuntu/
offers the deb packages to watch any media file that you could on a win box...
offers the deb packages to watch any media file that you could on a win box...
Tuesday, February 14, 2006
Windows Defender ( Beta 2)
The ultimate for end user security. The digg crowd agrees its the best free alternative to Webroot SpySweeper, and interesting enough, the download site comes complete with a Firefox how to for windows validation. I wonder how long Bill is going to let that one slide...
http://www.microsoft.com/athome/security/spyware/software/default.mspx
http://www.microsoft.com/athome/security/spyware/software/default.mspx
Subscribe to:
Posts (Atom)
Twitter Updates
About Me
- Rueben
- I have been working with computers/programming to put myself through college since I graduated high school. I am currently attending Oklahoma State University for bachelors degree in biological sciences. Along with my experience in programming, a degree in biology will allow me to pursue a career in bioinformatics research concerning genetic diseases (i.e. cancer).
Blog Archive
-
▼
2009
(14)
- ► 02/01 - 02/08 (1)
- ► 01/25 - 02/01 (1)
- ► 01/18 - 01/25 (9)
- ► 01/11 - 01/18 (2)
-
►
2008
(35)
- ► 12/28 - 01/04 (8)
- ► 12/21 - 12/28 (4)
- ► 11/30 - 12/07 (1)
- ► 11/16 - 11/23 (1)
- ► 11/09 - 11/16 (2)
- ► 11/02 - 11/09 (2)
- ► 10/26 - 11/02 (2)
- ► 10/19 - 10/26 (7)
- ► 10/12 - 10/19 (3)
- ► 10/05 - 10/12 (4)
- ► 09/28 - 10/05 (1)
-
►
2007
(119)
- ► 11/04 - 11/11 (3)
- ► 10/28 - 11/04 (7)
- ► 10/21 - 10/28 (2)
- ► 10/14 - 10/21 (3)
- ► 10/07 - 10/14 (1)
- ► 09/30 - 10/07 (6)
- ► 09/23 - 09/30 (6)
- ► 09/16 - 09/23 (8)
- ► 09/09 - 09/16 (2)
- ► 09/02 - 09/09 (3)
- ► 08/26 - 09/02 (3)
- ► 08/19 - 08/26 (3)
- ► 08/12 - 08/19 (8)
- ► 08/05 - 08/12 (6)
- ► 07/29 - 08/05 (2)
- ► 07/22 - 07/29 (2)
- ► 07/15 - 07/22 (1)
- ► 07/08 - 07/15 (1)
- ► 07/01 - 07/08 (2)
- ► 06/24 - 07/01 (8)
- ► 06/17 - 06/24 (1)
- ► 06/10 - 06/17 (9)
- ► 06/03 - 06/10 (6)
- ► 05/27 - 06/03 (3)
- ► 05/20 - 05/27 (1)
- ► 05/13 - 05/20 (2)
- ► 05/06 - 05/13 (7)
- ► 04/22 - 04/29 (3)
- ► 04/15 - 04/22 (4)
- ► 04/08 - 04/15 (1)
- ► 04/01 - 04/08 (2)
- ► 03/25 - 04/01 (2)
- ► 03/18 - 03/25 (1)
-
►
2006
(51)
- ► 12/31 - 01/07 (1)
- ► 12/10 - 12/17 (1)
- ► 12/03 - 12/10 (1)
- ► 11/19 - 11/26 (1)
- ► 11/05 - 11/12 (3)
- ► 10/29 - 11/05 (1)
- ► 10/22 - 10/29 (3)
- ► 02/26 - 03/05 (4)
- ► 02/19 - 02/26 (8)
- ► 02/12 - 02/19 (7)
- ► 02/05 - 02/12 (6)
- ► 01/29 - 02/05 (1)
- ► 01/22 - 01/29 (7)
- ► 01/15 - 01/22 (3)
- ► 01/08 - 01/15 (3)
- ► 01/01 - 01/08 (1)
-
►
2005
(100)
- ► 12/25 - 01/01 (8)
- ► 12/18 - 12/25 (11)
- ► 12/11 - 12/18 (7)
- ► 12/04 - 12/11 (5)
- ► 11/27 - 12/04 (5)
- ► 11/20 - 11/27 (6)
- ► 11/13 - 11/20 (2)
- ► 11/06 - 11/13 (3)
- ► 10/23 - 10/30 (1)
- ► 10/16 - 10/23 (1)
- ► 10/09 - 10/16 (2)
- ► 10/02 - 10/09 (1)
- ► 09/25 - 10/02 (1)
- ► 09/18 - 09/25 (1)
- ► 09/11 - 09/18 (1)
- ► 09/04 - 09/11 (1)
- ► 08/28 - 09/04 (4)
- ► 08/21 - 08/28 (3)
- ► 08/14 - 08/21 (5)
- ► 08/07 - 08/14 (10)
- ► 07/31 - 08/07 (20)
- ► 07/24 - 07/31 (2)