Unfortunately, from what I can see, it's going to be tricky to implement what 
you're wanting to do on the GSmapSearchControl because of the fact that it 
switches between two different maps when doing searches and such. Additionally, 
you will want to consider that v2 of the GMaps JS API has been deprecated, so 
it's only a matter of time before the GSMapSearchControl ceases to function. If 
at all possible (I don't know the options ESRI offers), I would suggest 
migrating to GMaps JS API v3. You can then utilize my jGoogleBar which was 
designed for GMaps v3 and offers the search functionality of the GoogleBar 
without the ads. And you won't have to worry about the maps switching out on 
you.

Alternatively, you could add your custom layer(s) to both of the control's maps 
so that, regardless of which one is being displayed, your layer(s) will be 
present.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Aug 30, 2010, at 9:46 AM, Alex Shiplett wrote:

> All,
> 
> I am attempting to have an overlay, that, when the user searches,
> remains on the page, so that the user can click for additional
> information.
> 
> I am using the GSMapSearch control, because it doesn't have ads, and
> the layers add fine on load.  But when I attempt to search for an
> address, the layers disappear.
> 
> The link is:
> 
> http://www.wilmingtonnc.gov/maps/localsearch.html
> 
> any help would be appreciated,
> 
> Thanks,
> alex
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to