Hello,
I really appreciate the work you have done to create
and develop the WCPierce Google Map .NET controls.
I am attempting to put a single gMap inside an
AccordionPane inside an Accordion Control.
I can Find the Control and initialize (Center and
Zoom) and add Markers etc. But...
It always displays... no matter what the selected
index of the Accordion becomes.
I have tried writing methods to set .Visible true or
fals, but nothing (shor of making .Visible=false on
PageLoad) will hide the Map.
Is there a way to have the gMap "behave" like other
controls when inside an Accordion Pane?
(I have images, text and Flash controls working fine).
Thank you for you any thoughts...
Best, David
Logged In: NO
Ouch, typo hell.
fals = false. shor = short.
Apologies :)
Logged In: YES
user_id=1021541
Hi,
When you mention you can "add Markers", I guess you are
using the original GMap.Net Control, which was provided for
the CodeProject Article. At the current moment (21 Sep
2006) I am working on version 2, and has bugs with adding
Markers!
You should probably wait till we have version 2 out of alpha
and a little more stable, then try the Accordion control
with that. I don't have a timescale for when that will be
ready, so you might have to wait a bit!
Also, your problem appears to be a bug - and not really a
support request (Support requests are used when you can't
work out how to do something - i.e. you can't quite follow
the manual!). With bug reports I need to be able to exactly
recreate the situation. It would be really handy if you
could provide simple code which will recreate the problem,
in this case the code for a blank page with an accordion
control, and the gmap.net control in it. I can then quickly
get to the bottom of the control.
At the moment I'm totally unfamiliar with what an Accordion
control is, I guess you are using the one included with the
Atlas sample controls?
To conclude, this problem isn't the highest of priorities at
the moment - i still need to get the Javascript events and
Databinding sorted for version 2 first! But the source is
entirely open, please feel free to get it from the SVN
repository and have a poke around to see if you can get to
the root of the problem.
Sorry I can't be of any help at the moment, but thanks for
your interest
Logged In: YES
user_id=1021541
GMap.Net Control uses
ICallbackEventHandler.RaiseCallbackEvent(string
eventArgument) to pass event arguments from Google Map API
javascript and the .Net control. This can be found in the
GMap2.cs file. I would suggest having a look here for
conflicts with your Ajax code first.