Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:06:34+00:00 2026-05-26T14:06:34+00:00

I have a series of maps in a Joomla-based website (there is a map

  • 0

I have a series of maps in a Joomla-based website (there is a map per event and my client needs to upload maps all the time), and I need to remove the “Map Satellite Terrain Earth” buttons.
I can imagine how to do it for one map (using APIv3 and JS, writing a code that includes coordinates and hides controls), but I need to make a JS file that can be applied for all the maps in the page.

This is for example one of my maps:

<iframe src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Jurys+Inn+Birmingham,+245+Broad+Street,+Birmingham&amp;aq=0&amp;sll=52.476821,-1.911922&amp;sspn=0.010573,0.023046&amp;vpsrc=0&amp;g=245+Broad+Street,+Birmingham&amp;ie=UTF8&amp;hq=Jurys+Inn+Birmingham,+245+Broad+Street,+Birmingham&amp;ll=52.476756,-1.911515&amp;spn=0.020519,0.046091&amp;t=m&amp;z=14&amp;iwloc=A&amp;cid=6378983717094669639&amp;output=embed" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="218" height="180"></iframe>

There are a lot like this. Any ideas on how to write the JS file that should apply to all of them? It´s a joomla site, so I need to put the JS code in a separate file.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:06:34+00:00Added an answer on May 26, 2026 at 2:06 pm

    As I said in the answer above, I wanted to create styles to apply to all my maps. I didn’t find a proper solution yet, but I’ve been reading this documentation: http://code.google.com/apis/maps/documentation/javascript/styling.html and the map styling could be a partial help.

      map.mapTypes.set('pink_parks', pinkMapType);
      map.setMapTypeId('pink_parks');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a series of if statements in a function like this: if time
I have a series of slides based off of sections: <div id=slides> <section id=first>
I have a series of functions that are all designed to do the same
Background: I'm build a series of location-based apps that make heavy use of maps.
We have a v3 map showing a series or markers, however today (16/08/12) Chrome
I have a series of webapps that collects all terms relating to a subject
I have a series of TextBlock and TextBox controls. Is there a way to
I have a series of elements, one beneath the next. There will be content
I have a series of instance functions in a class. There is also a
i have a series of links to specific addresses on google maps. several of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.