I am new to google maps API and have been struggling with a few
things. I am trying to build a map to show office branch locations
across the world. I don't want to display the locations initially but
what I would like to do is show a map on which only a continent is
selectable. When someone clicks on this it then centres the map on
that particular continent showing my markers (determined from
information pulled from a database) representing each office
location.
Do anyone have any pointers as how to go about this or have any
examples of where this has been done?
On May 13, 6:54 am, Wallzy <adrian.wa...@gmail.com> wrote:
> Hi,
> I am new to google maps API and have been struggling with a few
> things. I am trying to build a map to show office branch locations
> across the world. I don't want to display the locations initially but
> what I would like to do is show a map on which only a continent is
> selectable. When someone clicks on this it then centres the map on
> that particular continent showing my markers (determined from
> information pulled from a database) representing each office
> location.
> Do anyone have any pointers as how to go about this or have any
> examples of where this has been done?
Yeah, I have come across that example previously. It has the two
levels I want to acheive, however I instead of the top level being USA
and Canada I would like this to be continents Europe, N. America
etc.... So that for example hovering over Europe highlights all of
Europe and clicking on it focuses the map to this region.
It's creating these continent areas that I don't know how to go about.
Cheers,
Wallzy
On May 13, 3:13 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
> On May 13, 6:54 am, Wallzy <adrian.wa...@gmail.com> wrote:
> > Hi,
> > I am new to google maps API and have been struggling with a few
> > things. I am trying to build a map to show office branch locations
> > across the world. I don't want to display the locations initially but
> > what I would like to do is show a map on which only a continent is
> > selectable. When someone clicks on this it then centres the map on
> > that particular continent showing my markers (determined from
> > information pulled from a database) representing each office
> > location.
> > Do anyone have any pointers as how to go about this or have any
> > examples of where this has been done?
On May 13, 7:36 am, Wallzy <adrian.wa...@gmail.com> wrote:
> Yeah, I have come across that example previously. It has the two
> levels I want to acheive, however I instead of the top level being USA
> and Canada I would like this to be continents Europe, N. America
> etc.... So that for example hovering over Europe highlights all of
> Europe and clicking on it focuses the map to this region.
> It's creating these continent areas that I don't know how to go about.
> On May 13, 3:13 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
> > On May 13, 6:54 am, Wallzy <adrian.wa...@gmail.com> wrote:
> > > Hi,
> > > I am new to google maps API and have been struggling with a few
> > > things. I am trying to build a map to show office branch locations
> > > across the world. I don't want to display the locations initially but
> > > what I would like to do is show a map on which only a continent is
> > > selectable. When someone clicks on this it then centres the map on
> > > that particular continent showing my markers (determined from
> > > information pulled from a database) representing each office
> > > location.
> > > Do anyone have any pointers as how to go about this or have any
> > > examples of where this has been done?
> On May 13, 7:36 am, Wallzy <adrian.wa...@gmail.com> wrote:
> > Yeah, I have come across that example previously. It has the two
> > levels I want to acheive, however I instead of the top level being USA
> > and Canada I would like this to be continents Europe, N. America
> > etc.... So that for example hovering over Europe highlights all of
> > Europe and clicking on it focuses the map to this region.
> > It's creating these continent areas that I don't know how to go about.
> > On May 13, 3:13 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> > wrote:
> > > On May 13, 6:54 am, Wallzy <adrian.wa...@gmail.com> wrote:
> > > > Hi,
> > > > I am new to google maps API and have been struggling with a few
> > > > things. I am trying to build a map to show office branch locations
> > > > across the world. I don't want to display the locations initially but
> > > > what I would like to do is show a map on which only a continent is
> > > > selectable. When someone clicks on this it then centres the map on
> > > > that particular continent showing my markers (determined from
> > > > information pulled from a database) representing each office
> > > > location.
> > > > Do anyone have any pointers as how to go about this or have any
> > > > examples of where this has been done?
Wallzy wrote: > Thanks, I'll work my way through that but I am still not sure how I > can translate the mapping that exists for states into that of > continents.
sigh.. are you honestly saying that? what you display you have to make or find
Step 1 find your data... shapefiles ..dlg. or kml or something (modify to taste with the right tool for instance Country boundaries ought to be modifiable into continents without too much work or you might add divisional lines to land mass boundaries.) Step 2 convert it into the format you need (lots of free kml tools out there) Step 3 emulate an example given
There are probably even "free GIS tools" out there which you can use to do steps 1 and 2. See the key words .. google is your friend.
> On May 13, 3:57 pm, "geocode...@gmail.com" <geocode...@gmail.com> > wrote:
>> On May 13, 7:36 am, Wallzy <adrian.wa...@gmail.com> wrote:
>>> Yeah, I have come across that example previously. It has the two >>> levels I want to acheive, however I instead of the top level being USA >>> and Canada I would like this to be continents Europe, N. America >>> etc.... So that for example hovering over Europe highlights all of >>> Europe and clicking on it focuses the map to this region.
>>> It's creating these continent areas that I don't know how to go about.
>>> On May 13, 3:13 pm, "geocode...@gmail.com" <geocode...@gmail.com> >>> wrote:
>>>> On May 13, 6:54 am, Wallzy <adrian.wa...@gmail.com> wrote:
>>>>> Hi,
>>>>> I am new to google maps API and have been struggling with a few >>>>> things. I am trying to build a map to show office branch locations >>>>> across the world. I don't want to display the locations initially but >>>>> what I would like to do is show a map on which only a continent is >>>>> selectable. When someone clicks on this it then centres the map on >>>>> that particular continent showing my markers (determined from >>>>> information pulled from a database) representing each office >>>>> location.
>>>>> Do anyone have any pointers as how to go about this or have any >>>>> examples of where this has been done?