close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

All data doesn't display

Thread began 2/14/2012 6:34 pm by gb261593 | Last modified 2/15/2012 3:08 pm by Jason Byrnes | 1093 views | 6 replies |

gb261593

All data doesn't display

I am using php/mysql.
I have a recordset of locations (currently only 7 as it's being tested). I want a page that lists the results of the recordset and displays them on a map.
I have constructed the page and they all show on the list but only 3 show on the map.
How can I fix this please?

Sign in to reply to this post

Jason ByrnesWebAssist

please send a link where i can see the problem.

Sign in to reply to this post

gb261593

link

It is at:

map_advice_services.php

This map centres on america as well and is minute! I can get round that I think but the list below the map is what should be displayed. I know there are a number of duplicate postcodes but this works fine with the York ones.

Many thanks for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

when i view source of your page, you have the location name going into the street address field, the street address going into the city field and the phone number going into the zip code field. For example:

var address_0_0 = {
street: 'Cumbria Law Centre',
city: '8 Spencer Street',
state: 'Carlisle,CA1 1BG',
zip: '01228515129',
country: '',
infowindow: 'default',
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Address:</strong><br />Cumbria Law Centre<br />8 Spencer Street, Carlisle,CA1 1BG 01228515129</span>',
full: 'Cumbria Law Centre, 8 Spencer Street, Carlisle,CA1 1BG, 01228515129',
isdefault: true,
addressType: 'address',
loop: 'rsCentres',
latitude: '',
longitude: '',
markerStyle: 'Flag',
markerColor: 'Poppy'
};



the address being passed to the google geocoding service is:
Cumbria Law Centre, 8 Spencer Street, Carlisle,CA1 1BG, 01228515129


If i go to maps.google.com and enter that as an address, it is not able to find anything.

google cannot understand the address info that you are sending to it.

Sign in to reply to this post

gb261593

Thank you

I'll try this - thank you. I'm confusing what I wanted on a screen print with the mapping.

Sign in to reply to this post

gb261593

Limited flags

I have tried this and it works to some extent - see map3.php

However, there are a number of services at a single postcode and I only get one flag. Is there a way round this?

Many thanks

Sign in to reply to this post

Jason ByrnesWebAssist

you have to specify a unique street address to get more than one flag.

there are a number of addresses that use:
1st Floor Newcastle upon Tyne NE1 4XF


if you set a unique street address for each one, it will show a separate flag on the map.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...