Last post Sep 19, 2005 08:34 PM by kevinmschreiner
Sep 15, 2005 06:32 PM|s2k|LINK
Sep 15, 2005 11:48 PM|captscott019|LINK
Sep 16, 2005 06:22 AM|s2k|LINK
Sep 16, 2005 08:04 AM|captscott019|LINK
Yes. I'm following Googles documentation for creating a map on a html page, then showing the map in DNN using an IFrame. Right now I am plotting my points from an XML file, but I would eventually like to tie it directly to my database. Two vital resources...
Sep 16, 2005 08:21 AM|AerosSaga|LINK
Sep 16, 2005 08:39 AM|s2k|LINK
Sep 16, 2005 09:08 AM|AerosSaga|LINK
Sep 16, 2005 10:49 AM|RLyda|LINK
Sep 16, 2005 01:45 PM|databasedude|LINK
I finished creating a Google Map Module a couple of weeks ago but have been so snowed under that I've been unable to finish my website that demonstrates it's features:
http://googlemap.jetkey.com. I hope to work on it this weekend. Check back on monday and I may have it done. No promises since I also have to paint our basement this weekend.
Sep 16, 2005 05:59 PM|RLyda|LINK
Sep 16, 2005 06:06 PM|dharmesh|LINK
Sep 16, 2005 06:34 PM|adefwebserver|LINK
Sep 16, 2005 07:12 PM|databasedude|LINK
Sep 16, 2005 08:11 PM|databasedude|LINK
Sep 16, 2005 09:10 PM|s2k|LINK
Looks great! Looking forward to trying it.
What are your plans for release? Will it be free, pay, source code, etc?
Sep 17, 2005 09:18 PM|joldham|LINK
Sep 19, 2005 08:59 AMemail@example.com|LINK
Sep 19, 2005 12:25 PM|databasedude|LINK
Sep 19, 2005 05:58 PM|s2k|LINK
Sep 19, 2005 07:56 PM|s2k|LINK
Sep 19, 2005 08:03 PM|Timlarson|LINK
Sep 19, 2005 08:34 PM|databasedude|LINK
Sep 19, 2005 08:37 PM|databasedude|LINK
Sep 19, 2005 10:53 PM|databasedude|LINK
To integrate the Google Maps API into a DNN ascx page, one must make a minor change to the default page of the DNN core. Otherwise it simply won't function. That is why I was forced to use an Iframe and aspx method for my Google Map module, as will everyone
else, until the core is modified ever so slyghtly to accomodate the GMap API.
Sep 20, 2005 06:37 AM|s2k|LINK
So this uses iframe?? I thought it was totally embedded.
So what is the source ofthe iframe data? Does it generate it on the fly on the hosted site?
Sep 20, 2005 01:25 PM|databasedude|LINK
Gentlemen, let me explain why Iframes are the best way to go with the Google Map API and why I used them in the Google Map Module:
1) I did not think it was practical to tell everyone who downloads and installs a module that they must first modify the core in order to get it to work. Google has a quirky requirement in one of it's header tags that DNN does not support. A slight modification
to the DNN core must happen in order to accomodate the Google Map API.
2) Even if one could imbed the Google Map API into a DNN ascx and get it to function without modifying the core, this would create another problem, especially for people who use friendly URLS: The user would be forced to obtain a different Google Map Key
for every instance of the module since the map key is only good for one directory. Friendly URLS give the appearance that the GMap API is in separate directories for each module instance. I did not think it practical to tell everyone that they must either
disable friendly urls in order to get the Google Map Module to function or else obtain a separate Google Map key for each module instance. I personally like to use friendl urls.
3) By imbedding the GMap API into an aspx page and then pulling it into an IFrame, I was able to eliminate the need to require more than one Google map key per portal/domain. This one map key is good for all instances of a map module within a portal. Doing
this also gives website developers the freedom to either enable or disable friendly urls without crippling the map module.
4) Iframes are compatable with every browser under the sun.
5) Unless one reveals the source, nobody can tell that the Google Map Module even uses an Iframe. Therefore it baffles me why some of you are so offended by my use of Iframes. Believe me, I too wanted to imbed the Google Map API directly into an ascx
and get it to work, and was able to do so by modifying the core. So if I thought that imbedding the Google Map API directly into an ascx were the best way to go then I would have done so. But after examining the pros and cons of every option, the Iframe
became the best option by far at this stage of the technology. If anyone here can come up with a better solution than me then be my guest. I just wanted to give users the simplest and best possible experience minus any installation headaches, which I've
accomplished. I didn't want users to put on a programmers hat in order to get the module to function.
6) Iframes are downright simple, powerful and cool.
If you have a custom mapping application that you are developing or would like to develop, using my code as a starting point will save you a ton of time and expense. Why spend hundreds of hours banging your head against the wall only to end up reproducing
code that I can give you for just pennys on the dollar?
Sep 20, 2005 04:45 PM|s2k|LINK
Sep 21, 2005 10:01 AM|databasedude|LINK
Sep 22, 2005 01:35 AM|kevinmschreiner|LINK
Sep 23, 2005 10:30 AM|kevinmschreiner|LINK
GoMap, a COMPLETLY FREE (PA and Source) module from Business Intelligence Force -
provides exactly what you are looking for. With the following features
Did I mention the module and source are
Contrary to what other Google Maps developers have stated -
NO IFRAMES are required, nor used by our module - and
NO CORE CHANGES ARE NECESSARY.
Kevin M Schreiner
VP Software Architecture
Business Intelligence Force, Inc. (Bi4ce)
Sep 23, 2005 11:43 AM|databasedude|LINK
Congratulations on finding a way to use Iframes without making core changes. Like I said before, as long as one doesn't use friendly URLS in DNN, or else doesn't mind going through the hassle of obtaining and installing separate map keys for each instance
of a map module, then I think the no Iframes option is great.
I'm wondering if your module supports multiple domain names yet? Many portals have multiple domain names pointing to a single portal, which means that whatever map module they use must be intelligent enough to support multiple domain names (hence, multiple
map keys) per map instance. Mine does, and I'm sure your's will soon if not already.
Sep 23, 2005 12:01 PM|dharmesh|LINK
Sep 23, 2005 12:02 PM|mhj96813|LINK
I've been working on a DNN project that needed some mapping capability and have been developing a module using the Google maps API as well. I too was surprised to hear that you needed a core change to make it
work without an Iframe since mine was working without it. We will be putting out a module as well. I guess great minds think alike. I believe there is room for a few modules of this type, each with its own set of features.
"The real" Michael Jackson
Sep 23, 2005 12:12 PM|kevinmschreiner|LINK
Thanks, actually - as I stated previously - there are no IFRAME objects in this module - they are not required, and therefore are not used. Additionally - friendly URL's are also not a problem. The url issue for Google Maps only
applies to localhost registrations. This is because of the way a domain name is handled by Google as well is IIS. For instance -
http:\\dnn.bi4ce.com was the URL we registered for the module, and have it located within 5 different pages on the site, each with differing URL addresses (which are not the root). For
localhost each directory is considered a different domain by Google - so you would have to register that directory specifically for development purposes. With all that stated - the API key which is used on dnn.bi4ce.com works universally regardless
of the physical address within that domain.
With that said, the following is the result -
Check out the end result -
Thanks for the feedback!
Happy Nuking –
Kevin M. Schreiner
VP Software Architecure
Business Intelligence Force, Inc.
Sep 23, 2005 02:06 PM|Ed_DeGagne|LINK
Sep 23, 2005 02:23 PM|databasedude|LINK
Sep 23, 2005 03:02 PM|adefwebserver|LINK
Sep 23, 2005 03:06 PM|Ed_DeGagne|LINK
Sep 23, 2005 03:48 PM|kevinmschreiner|LINK
Im not sure why you experienced any issues in Opera. I am running Opera 8 and it worked flawlessly. With that said, we have been making changes to the site throughout the day to provide the ability to download the control for free OR help us in our donation
effort for the Red Cross Hurricane Relief funds. We are taking $4 dollars for the control on Snowcovered with the proceeds going to the Red Cross, or downloading for free from our site directly. You may have incidentaly come to the site at the same moment
an update was occurring. In any case - please come back and check the control with your browser and let me know if it is still malfunctioning - and the exact browser version you are hitting it with!
Kevin M Schreiner
VP Software Architecture
Business Intelligence Force, Inc.
Sep 23, 2005 05:53 PM|adefwebserver|LINK
Sep 24, 2005 01:41 AM|kevinmschreiner|LINK
The interest has been overwhelming for GoMap, and in an attempt to keep up with the ongoing requests and usage - we have released another new version, addressing a few of the issues people have identified within the last few days:
1. The multiple Cancel and Update buttons contained within the Module Settings page have been removed, all settings are now saved using the standard Update and Cancel buttons.
2. The Latitude and Longitude were transposed, and therefore needed reversal. The new installation corrects the issue - switching the Lon/Lat for all existing data points within the GeoLookup table as well as correcting the usage within the rendering controls.
**WARNING - IF YOU HAVE MADE CHANGES TO THE GEOLOOKUP TABLE - YOU WILL NEED TO MODIFY THE INSTALL SCRIPT SO IT DOES NOT DROP YOU VALUES**
3. The PA was originally provided with no Uninstall script. A new Uninstall script is provided which will removal all aspects of the installation. Additionally, some additional Owner and Qualifier information has been handled within the Install script.
Come back to the site and download the latest version! Post your questions directly to our forums so we can easily keep track of all the questions and comments.
Thanks again for your support -